Bug #13657 Updated: accents problem with system, fpassthru and so more
| From: | sander@php.net | Date: | Fri, 09 Nov 2001 19:56:02 +0000 |
| Subject: | Bug #13657 Updated: accents problem with system, fpassthru and so more | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69915@lists.php.net to get a copy of this message | ||
ID: 13657
Updated by: sander
Reported By: yogi2@caramail.com
Old Status: Feedback
Status: Closed
Bug Type: Program Execution
Operating System: WinXP build 2600
PHP Version: 4.0.6
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-10-13 10:41:49] sniper@php.net
Have you tried escaping those letters?
Does this work from command line?
------------------------------------------------------------------------
[2001-10-12 20:13:16] yogi2@caramail.com
I actually use the latest php-gtk (0.1.1a), but the problem seems to be the same with the latest PHP
(4.0.6), both for win32.
When we system() or fpassthru() (or same exec..) something which containts accents, it squizzes the
accents and then
make invalid the command.
for example :
system ("cmd nul /c move \"C:\test\belenos-errances_oniriques\support_du_néant.jpg\"
\"C:\test\belenos-errances_oniriques\Support du Néant.jpeg\"") ;
will be execute as :
move "C:\test\belenos-errances_oniriques\support_du_n,ant.jpg"
"C:\test\belenos-errances_oniriques\Support du N,ant.jpeg" ;
and so the file can't be found..
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13657&edit=1