#37117 [Opn->WFx]: basename can't split off the exact filename
| From: | tony2001@php.net | Date: | Tue, 18 Apr 2006 08:34:50 +0000 |
| Subject: | #37117 [Opn->WFx]: basename can't split off the exact filename | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95925@lists.php.net to get a copy of this message | ||
ID: 37117
Updated by: tony2001@php.net
Reported By: miaofeng at starsoftcomm dot com
-Status: Open
+Status: Wont fix
Bug Type: Filesystem function related
Operating System: linux
PHP Version: 5.1.2
New Comment:
Unicode support will appear in PHP6.
Previous Comments:
------------------------------------------------------------------------
[2006-04-18 08:21:18] miaofeng at starsoftcomm dot com
Description:
------------
Chinese file name can't be extracted from the whole directory string
Reproduce code:
---------------
<?
echo basename("/somewhere/你好.dat");
?>
Expected result:
----------------
你好.dat
Actual result:
--------------
.dat
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37117&edit=1