Edit report at https://bugs.php.net/bug.php?id=45517&edit=1
ID: 45517
Comment by: dkrysiak at o2 dot pl
Reported by: louis at steelbytes dot com
Summary: Widechar/Unicode Win32 APIs not used for file/dir
access
Status: Open
Type: Feature/Change Request
Package: Feature/Change Request
Operating System: Win2003/XP/Vista
PHP Version: 5.2.6
Block user comment: N
Private report: N
New Comment:
Same on Windows 2008 Server, PHP 5.3.8
Previous Comments:
------------------------------------------------------------------------
[2008-07-15 07:34:02] louis at steelbytes dot com
Description:
------------
PHP doesn't use the Widechar/Unicode Win32 APIs for file/dir access
Reproduce code:
---------------
create a file or folder which has chars in it's name that are outside the code
page of the iis/appache user acount. eg, try sticking greek and russian and
chinese chars in one file name. now try and read/write/dirlist that file.
is this a real problem? yes. although the above example is a bit contrived this
is a problem for me. I guess I will have to write my own php extension to do
file handling as I'm not betting this will be fixed until php6?
Expected result:
----------------
for php on NT family to use the Widechar/Unicode funcs. ie, CreateFileW(...)
instead of CreateFileA(...)
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=45517&edit=1