On 22/08/12 08:57, Pierre Joye wrote:
hi!
On Tue, Aug 21, 2012 at 3:10 PM, Ivan Enderlin @ Hoa
<ivan.ender...@hoa-project.net> wrote:
Hello,
Some of my users & contributors have met an issue with files containing
UTF-8 on certain Windows configurations (but they actually did not found the
difference). Any idea why?
The issue does not appear on Linux, BSD or Mac OS system, only for certain
Windows.
What do we need to check? --enable-zend-multibyte, some php.ini magic
parameters, some ENV variables?
It can't be fixed easily. Basically avoid by any price to use Unicode
names for the filenames of your projects.
I see.
As it may (very often) works smoothly on most unices, it won't work
ever using current releases or master on Windows. One has to set the
correct codepage and do the conversion from/to UTF-8.
Exactly. I can detect if PHP is running on Windows and making the
conversion on-the-fly but what kind of conversion? I have tried with
utf8_decode() but it seems to also fail. Any other idea?
Cheers.
--
Ivan Enderlin
Developer of Hoa
http://hoa.42/ or http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php