[med-svn] r573 - trunk/community/website/inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Thu Oct 4 19:38:44 UTC 2007
Author: hanska-guest
Date: 2007-10-04 19:38:44 +0000 (Thu, 04 Oct 2007)
New Revision: 573
Modified:
trunk/community/website/inc/locale.inc.php
Log:
It WORKED. :)
Everything's encoded in UTF-8, the page shows ISO-8859-15. :(
Working on this now. (Endless l10n!)
Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php 2007-10-04 19:33:32 UTC (rev 572)
+++ trunk/community/website/inc/locale.inc.php 2007-10-04 19:38:44 UTC (rev 573)
@@ -75,10 +75,10 @@
$show_locale_warning = true;
}
-putenv("LC_ALL=$locale");
-putenv("LANG=$locale");
-putenv("LANGUAGE=$locale");
-setlocale(LC_ALL, $locale);
+putenv("LC_ALL=$locale.UTF-8");
+putenv("LANG=$locale.UTF-8");
+putenv("LANGUAGE=$locale.UTF-8");
+setlocale(LC_ALL, "$locale.UTF-8");
$domain = "messages";
//bindtextdomain("messages", $locales_dir);
bindtextdomain($domain, "./locale");
More information about the debian-med-commit
mailing list