https://bugzilla.wikimedia.org/show_bug.cgi?id=31752

--- Comment #6 from Brion Vibber <[email protected]> 2011-10-16 18:24:37 UTC 
---
Looks like wfInitShellLocale() tries to force a UTF-8 locale to work around
http://bugs.php.net/bug.php?id=45132 where escapeshellarg() destroys the
non-ASCII chars if your locale isn't properly set to UTF-8. (r41379)

I presume that's not working on a system that has missing or broken UTF-8
locales? (ick!)

IMHO any non-UTF8 locale should be quietly laid to rest in this day and age,
but it's nicer to just not have to run into the problem. ;)

If this is only a bug in escapeshellarg(), maybe we should just give up and
implement it ourselves -- wfEscapeShellArg() already does that for Windows,
where the stock escapeshellarg() is wildly incorrect.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to