r18382 - htdocs/trunk - Request the i18nized to be in UTF-8.
Christian Stimming
cstim at code.gnucash.org
Fri Oct 16 16:04:24 EDT 2009
Author: cstim
Date: 2009-10-16 16:04:24 -0400 (Fri, 16 Oct 2009)
New Revision: 18382
Trac: http://svn.gnucash.org/trac/changeset/18382
Modified:
htdocs/trunk/lang.php
Log:
Request the i18nized to be in UTF-8.
Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php 2009-10-16 19:53:57 UTC (rev 18381)
+++ htdocs/trunk/lang.php 2009-10-16 20:04:24 UTC (rev 18382)
@@ -9,6 +9,10 @@
$domain = "gnucash-htdocs";
if (! isset($text_dir)) { $text_dir = $top_dir; }
$dir_res = bindtextdomain($domain, $text_dir);
+
+# Also specify that we want to receive the translated strings as UTF-8
+bind_textdomain_codeset($domain, 'UTF-8');
+
textdomain($domain);
echo ("<!-- $lang , locale_res [$locale_res] , dir_res $dir_res -->\n");
?>
More information about the gnucash-changes
mailing list