Re: UTF-8 files and include
| From: | Pierre Joye | Date: | Wed, 22 Aug 2012 06:57:57 +0000 |
| Subject: | Re: UTF-8 files and include | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62387@lists.php.net to get a copy of this message | ||
hi!
On Tue, Aug 21, 2012 at 3:10 PM, Ivan Enderlin @ Hoa
<ivan.enderlin@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.
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.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org