From: hunix at hunix dot idv dot tw Operating system: Linux 2.4.26 PHP version: 5.0.0RC3 PHP Bug Type: Directory function related Bug description: dirname faild in UTF8 dirname
Description: ------------ When calling dirname with an UTF-8 dir-string, The dirname can NOT return non ASCII strings. For example, dirname("/x/y/z/UTF-8name/basename"); the return value would be "/x/y/z/name" not "/x/y/z/UTF-8name". The same code work on php-4.3.5, php-4.3.6, php-4.3.7 very well. -- Edit bug report at http://bugs.php.net/?id=28981&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28981&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28981&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28981&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28981&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28981&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28981&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28981&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28981&r=support Expected behavior: http://bugs.php.net/fix.php?id=28981&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28981&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28981&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28981&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28981&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28981&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28981&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28981&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28981&r=float