Proposed fix for bug 14944, specifically the reports that some servers do not have...
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 62559d4..85602dd 100644 (file)
@@ -769,6 +769,13 @@ $wgInputEncoding  = 'UTF-8';
 $wgOutputEncoding = 'UTF-8';
 $wgEditEncoding   = '';
 
+/**
+ * Locale for LC_CTYPE, 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.
+ */
+$wgShellLocale = 'en_US.utf8';
+
 /**
  * Set this to eg 'ISO-8859-1' to perform character set
  * conversion when loading old revisions not marked with