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:14:07 EDT 2009
Am Freitag, 16. Oktober 2009 22:06 schrieb Christian Stimming:
> 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
However, apparently I've tried this before and at the time it didn't work.
http://svn.gnucash.org/trac/changeset/15866
http://svn.gnucash.org/trac/changeset/15867
Whatever. Today this seems to work right, so I'd stick to the current state.
Christian
More information about the gnucash-devel
mailing list