ID:               46990
 User updated by:  alex dot bazan at concatel dot com
 Reported By:      alex dot bazan at concatel dot com
 Status:           Open
 Bug Type:         *Directory/Filesystem functions
 Operating System: Windows XP
 PHP Version:      5.2.8
 New Comment:

The UTF string did not get saved correctly in the bug report. It was a
japanese string.


Previous Comments:
------------------------------------------------------------------------

[2009-01-02 08:03:37] alex dot bazan at concatel dot com

Description:
------------
Under Windows, when I use fpoen() or mkdir() with a UTF8 encoded
string, the file or directory name is not converted to the filesystem
encoding and thus the file or directory is created with a wrong file
name.

Reproduce code:
---------------
<?php mkdir('&#26085;&#26412;&#35486;'); ?>

Expected result:
----------------
Directory &#26085;&#26412;&#35486; should be created

Actual result:
--------------
Directory 日本語 is created


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46990&edit=1

Reply via email to