Req #72908 [NEW]: there is no mb_xxx function for readdir

From: Date: Sat, 20 Aug 2016 19:34:10 +0000
Subject: Req #72908 [NEW]: there is no mb_xxx function for readdir
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203427@lists.php.net to get a copy of this message
From: montdm at montdm dot shost dot ca Operating system: Windows PHP version: 7.1.0beta3 Package: *Directory/Filesystem functions Bug Type: Feature/Change Request Bug description:there is no mb_xxx function for readdir Description: ------------ --- From manual page: http://www.php.net/function.readdir --- The names of the files/directories on windows operating system are automatically encoding in windows-1252. When using readdir, if you use international encoding utf-8, the specials characters like é in the files/directories are badly return by readdir. So you need to use a second fonction, mb_convert_encoding, to have the good name of the files/directories. I suggest to create a new function mb_readdir which will work like all mb_ functions on strings Best regards -- Edit bug report at https://bugs.php.net/bug.php?id=72908&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72908&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72908&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72908&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72908&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72908&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72908&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72908&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72908&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72908&r=support Expected behavior: https://bugs.php.net/fix.php?id=72908&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72908&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72908&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72908&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72908&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72908&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72908&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72908&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72908&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72908&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72908&r=mysqlcfg

« previous php.bugs (#203427) next »