Protecting gnucash 1.8.x from utf8 locales

Didier Vidal didier-devel at 9online.fr
Sun Sep 4 18:12:59 EDT 2005


Some linux distribs (including Fedora) set UTF 8 locales by default.
With such locales, GnuCash doesn't behave correctly. In particular,
reports are not displayed correctly (utf8 chars are split in two).
This patch transforms UTF_8 locales into their base locale at startup
and displays a warning.
It assumes locale naming schemes as described at
http://www.linux.org/docs/ldp/howto/Unicode-HOWTO-3.html#ss3.4 and
http://www.iana.org/assignments/character-sets

Didier Vidal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utf8protect.patch
Type: text/x-patch
Size: 433 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-patches/attachments/20050904/52039799/utf8protect.bin


More information about the gnucash-patches mailing list