note 74049 added to function.basename
| From: | phdwight at yahoo dot com | Date: | Thu, 22 Mar 2007 02:41:45 +0000 |
| Subject: | note 74049 added to function.basename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124694@lists.php.net to get a copy of this message | ||
Pulled my hair out for this.
Just like most functions, this does not play well with Japanese characters.
When you call basename with some Japanese characters, it will return nothing (truncates it) .
----
Server IP: 219.94.145.73
Probable Submitter: 203.179.21.193
----
Manual Page -- http://www.php.net/manual/en/function.basename.php
Edit -- https://master.php.net/note/edit/74049
Del: integrated -- https://master.php.net/note/delete/74049/integrated
Del: useless -- https://master.php.net/note/delete/74049/useless
Del: bad code -- https://master.php.net/note/delete/74049/bad+code
Del: spam -- https://master.php.net/note/delete/74049/spam
Del: non-english -- https://master.php.net/note/delete/74049/non-english
Del: in docs -- https://master.php.net/note/delete/74049/in+docs
Del: other reasons-- https://master.php.net/note/delete/74049
Reject -- https://master.php.net/note/reject/74049
Search -- https://master.php.net/manage/user-notes.php