After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712299 - Tax Invoice with guile 2 doesn't display currency symbols
Tax Invoice with guile 2 doesn't display currency symbols
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
Depends on:
Blocks:
 
 
Reported: 2013-11-14 14:32 UTC by Geert Janssens
Modified: 2018-06-29 23:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Geert Janssens 2013-11-14 14:32:14 UTC
When built with guile 2, the tax invoice won't properly display the currency symbol for amounts. They all show as question marks.

When built with guile 1.8, this works fine.

Note that there's also a line "Amount Due, <currency>", with <currency> being the currency's ISO code. This continues to work.

In my test, I'm using my locale's currency, euro. So the ISO code is EUR and the symbol should be € (which displays correctly with guile 1.8, but displays as '?' with guile 2.0).
Comment 1 Geert Janssens 2013-11-20 10:55:31 UTC
This one turned out to be a one-liner. Without an explicit call to setlocale, guile 2.0 assumes all strings are in ascii. Any character not in the ascii character set is printed as a question mark. Commit r23416.
Comment 2 John Ralls 2018-06-29 23:21:24 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=712299. Please update any external references or bookmarks.