Manual:$wgShellLocale

Details
Locale for, to work around http://bugs.php.net/bug.php?id=45132.

For Unix-like operating systems, set this to to a locale that has a UTF-8 character set. Only the character set is relevant.