GNOME Bugzilla – Bug 712299
Tax Invoice with guile 2 doesn't display currency symbols
Last modified: 2018-06-29 23:21:24 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).
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.
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.