php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45132 escapeshellcmd removes swedish characters
Submitted: 2008-05-29 22:53 UTC Modified: 2015-02-03 06:59 UTC
Votes:11
Avg. Score:4.5 ± 0.8
Reproduced:11 of 11 (100.0%)
Same Version:6 (54.5%)
Same OS:5 (45.5%)
From: tom at collegit dot se Assigned:
Status: Duplicate Package: Program Execution
PHP Version: 5.*, 6CVS (2009-05-05) OS: *
Private report: No CVE-ID: None
 [2008-05-29 22:53 UTC] tom at collegit dot se

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-29 22:55 UTC] jani@php.net
Ilia, did that fix get into actual release..?
 [2008-05-29 23:09 UTC] felipe@php.net
Try using:
setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8");
 [2008-08-07 06:23 UTC] tstarling at wikimedia dot org

 [2009-05-07 13:52 UTC] jani@php.net
See also bug #44564 (and can still verify using latest CVS)

 [2010-05-19 14:23 UTC] mike@php.net
-Status: Assigned +Status: To be documented -Assigned To: iliaa +Assigned To:
 [2010-05-19 14:23 UTC] mike@php.net
Works here, but needs to be documented that escapeshell*() functions are locale dependent.
 [2010-12-20 12:08 UTC] jani@php.net
-Package: Tidy +Package: Program Execution
 [2015-02-03 06:59 UTC] yohgaki@php.net
-Status: Open +Status: Duplicate
 [2015-02-03 06:59 UTC] yohgaki@php.net
It removes non-ascii chars. Make this a dup of

https://bugs.php.net/bug.php?id=54391
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Jun 24 05:01:39 2018 UTC