note 86867 added to function.basename

From: Date: Fri, 07 Nov 2008 01:42:39 +0000
Subject: note 86867 added to function.basename
Groups: php.notes 
Request: Send a blank email to php-notes+get-146271@lists.php.net to get a copy of this message
After noticing that the UTF-8 character bug only manifested itself sometimes, I took a hint from: http://pear.php.net/bugs/bug.php?id=14529 and was able to fix the issue by using the following at the top of my code: setlocale(LC_ALL, 'en_US.UTF-8'); I'm guessing that using the UTF-8 version of other locales will work too? ---- Server IP: 209.41.74.194 Probable Submitter: 98.234.70.67 ---- Manual Page -- http://www.php.net/manual/en/function.basename.php Edit -- https://master.php.net/note/edit/86867 Del: integrated -- https://master.php.net/note/delete/86867/integrated Del: useless -- https://master.php.net/note/delete/86867/useless Del: bad code -- https://master.php.net/note/delete/86867/bad+code Del: spam -- https://master.php.net/note/delete/86867/spam Del: non-english -- https://master.php.net/note/delete/86867/non-english Del: in docs -- https://master.php.net/note/delete/86867/in+docs Del: other reasons-- https://master.php.net/note/delete/86867 Reject -- https://master.php.net/note/reject/86867 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146271) next »