Bug #63593 [Dup]: scandir return "?" in place of unicode letter in Windows httpd.
Edit report at https://bugs.php.net/bug.php?id=63593&edit=1
ID: 63593
Updated by: pajoye@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:
No, sorry. I do not have the time to give all the details again. Look at the other
bugs, explanation are in there. You have to convert your filenames to the runtime
encoding, given that you know it.
Changing the core to support wild char APIs are not yet planed for 5.5.
Previous Comments:
------------------------------------------------------------------------
[2012-11-24 12:58:15] john dot peterson10 at gmail dot com
"Please post the relevant source file and line."
------------------------------------------------------------------------
[2012-11-24 12:56:59] pajoye@php.net
Different runtime encoding. Nothing wrong here. Also cygwin is total different
story from a shell point of view.
------------------------------------------------------------------------
[2012-11-24 12:42:36] john dot peterson10 at gmail dot com
php test.php # return "????"
%cygwin%/bin/php test.php # return "ãã¡ã¤ã«"
------------------------------------------------------------------------
[2012-11-24 12:34:23] john dot peterson10 at gmail dot com
Please comment on the fact that CLI and httpd return different data.
Please post the relevant source file and line.
------------------------------------------------------------------------
[2012-11-24 12:20:05] pajoye@php.net
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).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63593
--
Edit this bug report at https://bugs.php.net/bug.php?id=63593&edit=1
Thread (9 messages)