[Bug 3370] Re: Gnucash doesn't like UTF-8, and ubuntu has only utf8 locales
Davidaf
david at abilleira.com
Sun Apr 23 14:44:11 UTC 2006
To see a final solution I suposse the we'll have to wait to GTK-2 version of gnucash, whose develpment seems to have speeded up lately.
After trashing several hours I got it quite working in ubuntu Dapper. My language is Spanish which uses Western Eurepe charset ISO-8859-1. Since the Europen Economical Union the use of Euros, the € char was added to it, and named ISO-8859-15. So for me work with iso-8859-1 or iso-8859-15 are both acceptable solutions, with the first one lacking only € symbol.
To generate iso-8859-15 locales:
# locale-gen es_ES at euro
Using xfontsel can be seen there are few fonts installed in Dapper that include support to € symbol (iso-8859-15), so I installed Microsoft fonts:
# apt-get install msttcorefonts
After that the command to launch gnucash was:
# LANG=es_ES.ISO-8859-15 at euro gnucash
I was trashing with /etc/gtk/gtkrc.iso-8859-15 to configure gtk-1 default fonts so it uses one which include iso-8859-15 charset (Arial). In gnucash Preferences I've choose Arial for ledger so it doesn't use helvetica which does not have € symbol.
For people using a more common charset generating locales and changing LANG environment variable should be enought.
Regarding converting the file I wasn't able when I tried it.
--
Gnucash doesn't like UTF-8, and ubuntu has only utf8 locales
https://launchpad.net/bugs/3370
More information about the universe-bugs
mailing list