This topic is locked

Build 185: How to change default character set?

1/5/2007 6:21:48 AM
PHPRunner General questions
J
jacekq author

Hi,

The standard character set for Polish web sites is ISO-8859-2. PHPRunner assumes it's Windows 1250. I've tried to change 'languages.cfg' file in the following manner:

<language filename="Polish.lng" name="Polish" lcid="1045" codepage="1250" charset="ISO-8859-2" />

and, ofcourse, 'Polish.lng' file.
Problem is, that it's not working properly: I must change 'dbcommon.php' manually - line: $cCharset = "iso-8859-2";
Is there a way to solve this problem?

Alexey admin 1/8/2007

Jacek,
PHPRunnner always uses Windows-suggested character set and there is no way to change it.
The next version of PHPRunner will have more flexible charater sets support and you won't need to change the generated files.