GNOME Bugzilla – Bug 89471
no EUR symbol in "Accounts" window
Last modified: 2018-06-29 20:14:51 UTC
Although the locale settings are correct (e.g. LC_ALL=de_DE@euro), the EUR _symbol_ isn't displayed in the "Accounts" window. Only if I apply this short patch, the symbols are displayed correctly. gnucash/src/app-utils$ cvs diff gnc-ui-util.c Index: gnc-ui-util.c =================================================================== RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/gnc-ui-util.c,v retrieving revision 1.28 diff -u -r1.28 gnc-ui-util.c --- gnc-ui-util.c 3 Jul 2002 05:59:51 -0000 1.28 +++ gnc-ui-util.c 30 Jul 2002 21:44:19 -0000 @@ -1016,9 +1016,9 @@ if (lc_set) return &lc; - + setlocale(LC_ALL, ""); lc = *localeconv(); - + printf("debug: %s %s\n", lc.int_curr_symbol, lc.currency_symbol); gnc_lconv_set(&lc.decimal_point, "."); gnc_lconv_set(&lc.thousands_sep, ","); gnc_lconv_set(&lc.grouping, "\003"); It seems, that anything in the gnc locale subsystem is broken... regards, christian
The actual problem is that (setlocale LC_ALL "") was too late in the startup sequence in src/scm/main.scm. Fixed in CVS.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=89471. Please update any external references or bookmarks.