From c5168db28aef6112239299a2c8ca8c80b12a986b Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 17 Nov 2010 08:47:14 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20bug=20#53262=20(basename()=20cannot=20h?= =?UTF-8?q?andle=20argument=20with=20special=20characters=20like=20french?= =?UTF-8?q?=20"=C3=A9=C3=A9=C3=A9")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305448 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/basename.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/filesystem/functions/basename.xml b/reference/filesystem/functions/basename.xml index 04bd11aaff..6de8a48302 100644 --- a/reference/filesystem/functions/basename.xml +++ b/reference/filesystem/functions/basename.xml @@ -119,6 +119,13 @@ echo "5) ".basename("/"); as "..". + + + basename is locale aware, so for it to see the + correct basename with multibyte character paths, the matching locale must + be set using the setlocale function. + +