GNOME Bugzilla – Bug 711317
Indian Rupee Symbol appears as "?" marks
Last modified: 2018-06-29 23:20:48 UTC
On Windows 7, I have GnuCash 2.4.13 installed with the India keyboard settings. The symbol shows the new "Rupee" symbol in the currency format settings and all the currency symbols in the GnuCash program appears as ? symbols. If I change the symbol to US dollar or Euro, the symbols appear on GnuCash properly. Also if I change the symbol to just "Rs", that too works fine in GnuCash. I had changed all my font metrics to Tahoma and tried various symbols for the currency format (by selecting from the character map). Around U+01A0 symbol (Ơ), the currency symbol in the GnuCash starts to appear as ? marks. The India currency is at U+20B9 (₹) and even the symbol at U+20A8 (₨), the older Rupee symbol doesn't work with GnuCash. This symbol shows up in other programs fine.
I would assume, it is a problem with the Windows fonts. Can you verify U+20B9 and U+20A8 are defined in your Tahoma font, because I am not using windows? Check also, your http://wiki.gnucash.org/wiki/Locale_Settings are correct. I assume the user interface is in english as can not see a hi.po? Are the reports showing correct devanagara symbols? Which char sets are selected in Edt->Style sheets->*->Fonts? Are the symbols defined in that fonts? If you answer, set the status below to 'Unconfirmed' again.
Verified that U+20B9 and U+20A8 are defined in Tahoma font (using the charmap program - I am able to select that char and copy to notepad) Locale Settings are correct and verified from that program. The UI is in english (English - India, en_IN locale). Don't understand what is "hi.po"? Reports also do not show the rupee symbol. The char sets selected in "Edit->Style sheets->*->Fonts" is Tahoma all the way through for the Default stylesheet and I use only the default stylesheet for the reports. The symbols are defined in that font.
To copy to notepad - I use Notepad2 with Unicode encoding for the file to get the character to appear. Regular notepad with ANSI will still display as ?.
Thanks for your prompt response. Using your locale settings, in linux I see in: gnucash 2.4.12 in the Chart of account: "Indian Rupee", in the balance report "₹" gnucash 2.5.6: "₹" in both views. So this issue is OS dependend. Let's ask the windows guys!
Hi, we recently discovered a bug in the locale handling. Part of this was fixed in the 2.5.x development series. Could you try to run gnucash 2.5.9 and report back if this works now ? Note that this is still a beta release, so please make a backup copy of your datafile before launching 2.5.9.
I found just another pointer: http://wiki.gnucash.org/wiki/Windows#Font_problems Can you check this too?
Had already tried the solutions mentioned in the font problems for windows. Those did not have any effect. Will try gnucash 2.5.9 and report back.
The rupee symbol shows up as "रू" instead of the actual locale ₹ symbol with the Gnucash 2.5.9 release. Though it is showing a symbol it is still not showing the right symbol that is defined in the locale.
http://en.wikipedia.org/wiki/Indian_rupee shows "रू" in formerly used symbols, so it seems my last visit there was a time ago. So I updated the symbol. fixed in trunk r23510 and 2.4 branch r23511 Geert, I assume it would be too invasive to backport Frédérics changes?
@Frank: thanks for the update. Frédéric's changes are a new feature of 2.5/2.6, not a bugfix. So these changes won't be backported. @Anand: thank you for verifying the locale fix in 2.5.9. Unfortunately it looks like this fix will not be backported to 2.4. The locale change may break other parts of the code, which I don't want to risk in 2.4. Bug 719481 is already one such example. So this bug will be fixed for 2.5/2.6 only.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=711317. Please update any external references or bookmarks.