summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d17c9f7)
raw | patch | inline | side by side (parent: d17c9f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 05:52:37 +0000 (05:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 05:52:37 +0000 (05:52 +0000) |
Appended .UTF to actually selected language string.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7217 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7217 594d385d-05f5-0310-b6e9-bd551577e9d8
html/setup.php | patch | blob | history |
diff --git a/html/setup.php b/html/setup.php
index 823994e4b397991b2f48e9efb5adac5a2e3fb374..5ba7e4a5bbb974b0c867bc655f563dcb4dd28cce 100644 (file)
--- a/html/setup.php
+++ b/html/setup.php
}
$lang = $_SESSION['lang'];
+
+if(!preg_match("/utf8/i",$lang)){
+ $lang .= ".UTF8";
+}
putenv("LANGUAGE=");
putenv("LANG=$lang");
setlocale(LC_ALL, $lang);