Control: tag 768217 patch

Here is a patch that fixes this bug.

diff --git a/include/Languages.awk b/include/Languages.awk
index a2ce6af..2ead722 100644
--- a/include/Languages.awk
+++ b/include/Languages.awk
@@ -526,6 +526,6 @@ function initUserLang() {
          parseLang(ENVIRON["LANG"]) :
          "en")
 
-    if (ENVIRON["LANG"] !~ /UTF-8$/ && ENVIRON["LC_CTYPE"] !~ /UTF-8$/)
+    if (ENVIRON["LANG"] !~ /[uU][tT][fF]-?8$/ && ENVIRON["LC_CTYPE"] !~ 
/[uU][tT][fF]-?8$/)
         w("[WARNING] Your locale codeset (" ENVIRON["LANG"] ") is not UTF-8. 
You have been warned.")
 }


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to