php-windows Digest 8 Mar 2013 09:30:27 -0000 Issue 4087

Topics (messages 30986 through 30987):

Re: About Windows Help file
        30986 by: Ferenc Kovacs

fopen or such with UTF-8 filepath
        30987 by: Kenji Uno

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On Thu, Jan 17, 2013 at 3:24 PM, Mayur Patil <ram.nath241...@gmail.com>wrote:

> Hello,
>
>    Why the .chm file is not updated since long time (24 aug 2012)
>
>    while it proves to be very useful when anyone wants to dive
>
>    into documentation??
>
>    Thanks !!
> --
> *Cheers,
> Mayur*.
>

Hi,

I've just described the current status in a separate mail, you can check
out at http://news.php.net/php.doc/969384235

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

--- End Message ---
--- Begin Message ---
Hi.

Anyone trying to realize UTF-8 filepath support on Windows's php5?

I'm developing php-wfio: Unicode(UTF-8 only) filename support for PHP 5.4 on Windows.

About file access:
---
$file = wfio_fopen8("多国語.txt", "rb"); // in UTF-8
....
fclose($file);
---

It uses _wfopen instead of fopen internally.

php-wfio exposes following procedures:
wfio_fopen8
wfio_getcwd8
wfio_path2utf8
wfio_path_from_utf8
wfio_path_combine

PHP stream wrapper is supported:
---
$file = fopen("wfio://多国語.txt", "rb"); // in UTF-8
....
fclose($file);
---

dirstream is also supported:
---
$d = opendir("wfio://C:\\Windows");
....
closedir($d);
---

"wfio://" supports:
fopen, fwrite, fread, stat, fclose,
opendir, readdir, closedir,
rename, copy, unlink,
mkdir, rmdir.

* "chdir" is not supported!
* Keep your fullpath always.
* Use wfio_getcwd8 for getting current directory
* Use wfio_path_combine to hold your subdir in fullpath format.

Any comments?

Thanks

kenji uno
--- End Message ---

Reply via email to