Am Mittwoch, den 02.03.2005, 10:36 +0000 schrieb Neil Williams: > I'm getting thousands of these warnings when testing in g2. > (gnucash:3813): Pango-WARNING **: Invalid UTF-8 string passed to > pango_layout_set_text()
My guess is that this is because the translation you use is not UTF-8-encoded. I think all of the (GNOME2 branch) translation should have a UTF-8 charset. [EMAIL PROTECTED]:~/cvs/gnucash$ grep charset po/*.po po/da.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/de.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/el.po:"Content-Type: text/plain; charset=ISO-8859-7\n" po/en_GB.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/es_NI.po:"Content-Type: text/plain; charset=iso-8859-15\n" po/es.po:"Content-Type: text/plain; charset=iso-8859-15\n" po/fr.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/hu.po:"Content-Type: text/plain; charset=ISO-8859-2\n" po/it.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/ja.po:"Content-Type: text/plain; charset=euc-jp\n" po/nb.po:"Content-Type: text/plain; charset=iso-8859-1\n" po/nl.po:"Content-Type: text/plain; charset=ISO-8859-15\n" po/pl.po:"Content-Type: text/plain; charset=ISO-8859-2\n" po/pt_BR.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/pt.po:"Content-Type: text/plain; charset=ISO-8859-1\n" po/ru.po:"Content-Type: text/plain; charset=KOI8-R\n" po/sk.po:"Content-Type: text/plain; charset=ISO-8859-2\n" po/sv.po:"Content-Type: text/plain; charset=iso-8859-1\n" po/ta.po:"Content-Type: text/plain; charset=utf-8\n" po/uk.po:"Content-Type: text/plain; charset=koi8-u\n" po/zh_CN.po:"Content-Type: text/plain; charset=UTF-8\n" po/zh_TW.po:"Content-Type: text/plain; charset=big5\n" I suggest somebody runs the script #!/bin/bash for i in $( ls po/*.po ); do msgconv -t UTF-8 $i >> $i.tmp && mv $i.tmp $i done in the GNOME 2 branch of GnuCash and re-commits the POs. I'm not sure whether you like diverging PO files between HEAD and the GNOME 2 branch, though. If not, it would probably be more wise to wait until the branch is merged with HEAD and write down that this has to be done. Anyway, it would be nice to hear whether the conversion helped for your particular problem. -- Christian Neumair <[EMAIL PROTECTED]> _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel