php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13658 accents problem with system, fpassthru and so more
Submitted: 2001-10-12 20:13 UTC Modified: 2001-10-13 08:16 UTC
From: yogi2 at caramail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.6 OS: WinXP build 2600
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yogi2 at caramail dot com
New email:
PHP Version: OS:

 

 [2001-10-12 20:13 UTC] yogi2 at caramail dot 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:testbelenos-errances_oniriquessupport_du_n?ant.jpg"  "C:testbelenos-errances_oniriquesSupport du N?ant.jpeg"") ;

will be execute as :

move "C:testbelenos-errances_oniriquessupport_du_n,ant.jpg"  "C:testbelenos-errances_oniriquesSupport du N,ant.jpeg" ;

and so the file can't be found..

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-13 08:16 UTC] sander@php.net
Submitted twice.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC