svn: /phpdoc/en/trunk/reference/filesystem/functions/ basename.xml
| From: | Kalle Sommer Nielsen | Date: | Wed, 17 Nov 2010 08:47:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ basename.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7427@lists.php.net to get a copy of this message | ||
kalle Wed, 17 Nov 2010 08:47:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305448
Log:
Fixed bug #53262 (basename() cannot handle argument with special characters like french
"ééé")
Bug: http://bugs.php.net/53262 (Open) basename() cannot
handle argument with special characters like french "ééé"
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/basename.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/basename.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/basename.xml 2010-11-17 08:43:00 UTC (rev 305447)
+++ phpdoc/en/trunk/reference/filesystem/functions/basename.xml 2010-11-17 08:47:14 UTC (rev 305448)
@@ -119,6 +119,13 @@
as "<literal>..</literal>".
</para>
</note>
+ <note>
+ <para>
+ <function>basename</function> is locale aware, so for it to see the
+ correct basename with multibyte character paths, the matching locale must
+ be set using the <function>setlocale</function> function.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">