Re: utf-8 filenames in phar files.
| From: | Yasuo Ohgaki | Date: | Fri, 14 Feb 2014 02:33:50 +0000 |
| Subject: | Re: utf-8 filenames in phar files. | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72581@lists.php.net to get a copy of this message | ||
Hi Dan,
On Fri, Feb 14, 2014 at 11:08 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> On Fri, Feb 14, 2014 at 10:48 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>
>> To handle normalization difference, you may apply NFC normalization
>> on OSX.
>>
>
> All you have to do is "detect OSX by #if during build" and "apply NFC
> normalization
> for Unicode filenames using ICU".
>
Or even simpler, NFC normalization doesn't destroy (To be exact, it could.
It does not
matter under normal circumstances) names, you can simply apply NFC always.
I suppose performance is not a issue here.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net