Re: UTF-8 files and include
| From: | Pierre Joye | Date: | Wed, 22 Aug 2012 08:18:51 +0000 |
| Subject: | Re: UTF-8 files and include | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62396@lists.php.net to get a copy of this message | ||
hi Lester,
On Wed, Aug 22, 2012 at 10:06 AM, Lester Caine <lester@lsces.co.uk> wrote:
> Ivan Enderlin @ Hoa wrote:
>>>
>>> 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?
>
>
> Oh that it was so simple ;)
>
> This is perhaps one of the reasons development of PHP6 ground to a halt?
No, it was not.
Also unicode support on windows for IO operations (on the paths, not
the contents) is planed for php-next+1 (aka not the 5.5 but the one
after).
I'd also to ask to do not hijack this thread with a php6/whatever else
rant and keep focusing on answering Ivan's questions instead.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org