Menu

#6 utf-8 support could be missing

open-works-for-me
None
5
2010-03-08
2010-03-07
Anonymous
No

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.

Discussion

  • Pierre Fauconnier

    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.

     
  • Pierre Fauconnier

    • assigned_to: nobody --> pf18387
    • summary: utf-8 support missing --> utf-8 support could be missing
    • status: open --> open-works-for-me