Edit report at https://bugs.php.net/bug.php?id=63593&edit=1
ID: 63593 Updated by: paj...@php.net Reported by: john dot peterson10 at gmail dot com Summary: scandir return "?" in place of unicode letter in Windows httpd. Status: Duplicate Type: Bug Package: *Unicode Issues Operating System: Windows PHP Version: 5.5Git-2012-11-23 (snap) Block user comment: N Private report: N New Comment: I don't have it at hand but if you search for 'windows file unicode', you will find a couple with work around (tricky but possible). Previous Comments: ------------------------------------------------------------------------ [2012-11-24 11:59:55] john dot peterson10 at gmail dot com What is the duplicate ID? ------------------------------------------------------------------------ [2012-11-24 11:56:09] paj...@php.net there is no Unicode support for file system functions in PHP. There is already a feature request for that > mark as duplicated. ------------------------------------------------------------------------ [2012-11-23 23:06:22] john dot peterson10 at gmail dot com Description: ------------ Reproduce Program httpd-2.2.22-win32-x86-openssl-0.9.8t.msi php-5.5-ts-windows-vc9-x86-r64788e3.zip Config httpd-2.2.22-win32-x86-openssl-0.9.8t.msi/program files/Apache Software Foundation/Apache2.2/conf/original/httpd.conf.in php-5.5-ts-windows-vc9-x86-r64788e3.zip/php.ini-development Command # cd `httpd ServerRoot` touch ãã¡ã¤ã« curl -v 'http://server/test.php' # return "????" php test.php # return "ãã¡ã¤ã«" Test script: --------------- <?php header("content-type: text/plain; charset=utf-8"); print_r(scandir(".")); ?> Expected result: ---------------- See above. Actual result: -------------- See above. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63593&edit=1