GnuCash Website: Translations are wrong encoded or missing; was: All pages are wrong encoded or lost

Christian Stimming stimming at tuhh.de
Fri Oct 16 16:06:49 EDT 2009


Am Freitag, 16. Oktober 2009 20:59 schrieb Frank H. Ellenberger:
> > A short check shows the following:
> >
> > German: wrong encoding
> > French: wrong encoding
> > Italian: wrong encoding
>
> The problem here is, that the .po files are UTF-8 encoded, but the gettext
> function of PHP returns ISO-encoded strings.
>
> Who knows the right tweak, to get UTF encoded strings returned?

Thanks a lot for finding this out. This was enough of a hint for me to find 
the place where we need to add the gettext call bind_textdomain_codeset(), 
see http://de3.php.net/manual/en/function.bind-textdomain-codeset.php and  
http://svn.gnucash.org/trac/changeset/18382

Should look fine now.

Thank you very much.

Christian


More information about the gnucash-devel mailing list