Bug #75063 [Csd]: Main CWD initialized with wrong codepage

From: Date: Mon, 14 Aug 2017 14:37:30 +0000
Subject: Bug #75063 [Csd]: Main CWD initialized with wrong codepage
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210675@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75063&edit=1 ID: 75063 Updated by: ab@php.net Reported by: anrdaemon at freemail dot ru Summary: Main CWD initialized with wrong codepage Status: Closed Type: Bug Package: Filesystem function related Operating System: Windows PHP Version: 7.1.8 Assigned To: ab Block user comment: N Private report: N New Comment: Great, thanks for the check. There are discrepancies between TS/NTS by nature, as this case reveals. UTF-8 is still the best option when it comes to the streams I/O, whereby for setups ASCII might be still a safer choice. The fix will likely land in the upcoming RC. Thanks. Previous Comments: ------------------------------------------------------------------------ [2017-08-14 14:01:41] anrdaemon at freemail dot ru Thanks, all seems to be working as expected. At least filetype, getcwd, glob and simplexml_load_file all check out correctly. ------------------------------------------------------------------------ [2017-08-14 10:21:10] ab@php.net @arndaemon fixed in dev, the latest snapshots should reflect the fixed state. Thanks. ------------------------------------------------------------------------ [2017-08-13 22:54:42] ab@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=3069ad8dd1400f19a28230d3028048a27d07ce8d Log: Fixed bug #75063 ------------------------------------------------------------------------ [2017-08-13 13:53:37] anrdaemon at freemail dot ru My apology, it's a zip issue. Totally forgot that there's no standard way to encode file names in zip archives. The original name was "тест-75063". I reuploaded the archive for your convenience. http://www.rootdir.org/upload/Bugs/PHP-75063/php-75063.tar.xz The build I'm using is the 7.1.8 64-bit TS release from http://windows.php.net/download#php-7.1 The "output.txt" contains essential part of the phpinfo() (minus credits and environment dump). If there's anything in the environment, that could make a difference on the results, please let me know and I'll fill the gaps. ------------------------------------------------------------------------ [2017-08-12 17:51:57] ab@php.net @arndaemon which exact build did you use? From the supplied archive - the folder in the root is shown as "ΓÑßΓ-75063". It might be either a packaging error, or possibly something on the HD that could be a cause. If latter, which kind of FS is that, like local HD, NTFS, Samba, etc.? Thanks. ------------------------------------------------------------------------ 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=75063 -- Edit this bug report at https://bugs.php.net/bug.php?id=75063&edit=1

« previous php.bugs (#210675) next »