Re: ETA for unicode paths support on Windows?
| From: | Czarek Tomczak | Date: | Wed, 29 Jan 2014 12:49:27 +0000 |
| Subject: | Re: ETA for unicode paths support on Windows? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71725@lists.php.net to get a copy of this message | ||
Hi Nicolas,
On Mon, Jan 27, 2014 at 6:58 PM, Nicolas Grekas <
nicolas.grekas+php@gmail.com> wrote:
> AFAIK, two solutions exist:
> - an extension: https://code.google.com/p/php-wfio/
> - a PHP class:
>
> https://github.com/nicolas-grekas/Patchwork-UTF8/blob/lab-windows-fs/class/Patchwork/Utf8/WinFsStreamWrapper.php
>
> The PHP class is based on COM+shortPath and suffers from Windows sometimes
> returning non-ASCII chars in shortPath on non latin computers. No
> workaround found currently.
>
Thank you for the links. Looks like that the php-wfio extension is a better
solution as it would be more reliable.
I've just tested the pdo sqlite extension and it worked fine when provided
with a utf-8 path to the file database. This extension seem to be handling
unicode paths independently of php. That's a good news.
Best regards,
Czarek