ID: 44564
User updated by: email at steffenweber dot net
Reported By: email at steffenweber dot net
Status: Open
Bug Type: Strings related
Operating System: Gentoo Linux (x86_64)
PHP Version: 5.2.6RC3
New Comment:
I should add that this has worked fine in RC1.
Previous Comments:
------------------------------------------------------------------------
[2008-03-29 09:52:51] email at steffenweber dot net
Description:
------------
In PHP 5.2.6 RC3 escapeshellarg removes UTF-8 multi-byte characters
(well, to be honest I have only tested german umlauts) from the input.
RC1 has worked fine. I suspect that the following entry in the NEWS file
has something to do with this: "Properly address incomplete multibyte
chars inside escapeshellcmd() (Ilia, Stefan Esser)"
Reproduce code:
---------------
php -r "var_dump(escapeshellarg('ä'));"
Expected result:
----------------
string(2) "'ä'"
Actual result:
--------------
string(2) "''"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44564&edit=1