Sorry, didn't hit reply all. It looks like you need to set the locale with the bind_textdomain_codeset function before using the gettext function, then it should (as far as I can tell) return utf-8 strings.
I haven't used the gettext func myself so I can't say from experience but the documentation and function comments on php.net are rather helpful. -tim ------Original Message------ From: Frank H. Ellenberger Sender: gnucash-devel-boun...@gnucash.org To: gnucash-devel@gnucash.org To: gnucash-u...@gnucash.org Subject: GnuCash Website: Translations are wrong encoded or missing;was: All pages are wrong encoded or lost Sent: Oct 16, 2009 1:59 PM Dear devs, dear users, After some triage, the state is as follows: Am Wednesday 14 October 2009 02:23:34 schrieb Frank H. Ellenberger: > Hi Dav, > > thanks for pointing on this. > > 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? > Spanish: lost; shows english text > Norsk: lost > Dutch: lost > Portugese: lost It seems, that they became disfunctional after a rework of the site 2006. Are there volunteers, which could contribute new translations - also for other languages? Please see http://wiki.gnucash.org/wiki/Translation#How_to_translate_the_web_page for details. TIA Frank _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel Sent on the Sprint® Now Network from my BlackBerry® _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel