utf-8 support could be missing
Brought to you by:
pf18387
I have a project based on the windows binary version from php-gtk that I'd like to update to use the php5.2, but after installing software I saw that all my UTF-8 strings are broken. I checked my previous php.ini and I saw there was an option called php-gtk.codepage. Now I added that to my php.ini in my pigii version of php.ini, but it didn't help.
Thanks for your report.
Actually, the file to use is "php-cli.ini" - cli stands for command line interface and is corresponding to the GTK side. This "php-cli.ini" file is containing the following lines (line numbers 66-67):
php-gtk.codepage = CP1250
;php-gtk.codepage = UTF-8
The file php.ini is generally used by the other side of PHP (without GTK).
Should UTF-8 be the default character set to use with PHP-GTK applications?
Best regards,
Pierre.