#37117 [Opn->WFx]: basename can't split off the exact filename

From: 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/&#20320;&#22909;.dat"); ?> Expected result: ---------------- &#20320;&#22909;.dat Actual result: -------------- .dat ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37117&edit=1

« previous php.bugs (#95925) next »