ID:               33260
 Updated by:       [EMAIL PROTECTED]
 Reported By:      simonweb at 21cn dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: windows xp 2000 ad
 PHP Version:      5CVS-2005-06-07 (dev)
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Sorry, but this is not supported yet. You'll have to wait for PHP that
supports unicode.


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

[2005-06-07 09:36:14] simonweb at 21cn dot com

Description:
------------
basename() cannot work with Chinese file name,such
as:basename("c:/php/文件名a.php")
it will return "a.php"
the first word of file name can't be Chinese

Reproduce code:
---------------
<?

$dir="c:/php/文件名a.php";
echo basename($dir);
?>

Expected result:
----------------
文件名a.php

Actual result:
--------------
a.php


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


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

Reply via email to