View Full Version : CP 1250

01-14-2005, 01:10 PM
I had small problem with pages using CP1250 and PHPDig. After while I found solution, which is not very nice, but works.

1. set iso-8859-2 in config.php
2. add to $phpdig_string_subst['iso-8859-2'] problematic characters čžť - sipmly C:ÇĆ change to C:ÇĆČ ...
3. ok it works, correctly add records to database, but it doesn't display problematic characters in searching page.
4. add header to search.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META http-equiv="Content-Type" content="text/html; charset=windows-1250">
<META http-equiv="Content-language" content="cs">

5. remove this part from template which you would like to use
6. That's it.

I hope that I will not disturb somebody with this solution. If anybody has better idea how to sort out CP1250, please post it.

01-14-2005, 08:06 PM
Perhaps section 4.4 of the documentation (http://www.phpdig.net/navigation.php?action=doc#toc4) might be helpful.

01-23-2005, 07:45 AM
Please, can you help me with charset iso-1250? problematic characters are š,ľ...