|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-11-16 22:23 UTC] ab@php.net
[2018-11-16 22:23 UTC] ab@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ php-win.exe corrupts unicode characters passed to it via cli parameters. php.exe does not do this. Test script: --------------- CLI -- php-win.exe test_script.php "EĀ餁K脁獁ǒ脁᳁ğ肝Ź섁䤁" ---- test_script.php -- file_put_contents('argv.txt', PHP_BINARY . PHP_EOL . print_r($argv, TRUE)); ---- argv.txt (utf-8) -- php-win.exe Array ( [0] => test_script.php [1] => EA?K??o??g?Z?? ) -- php.exe Array ( [0] => test_script.php [1] => EĀ餁K脁獁ǒ脁᳁ğ肝Ź섁䤁 ) ---