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 711317 - Indian Rupee Symbol appears as "?" marks
Indian Rupee Symbol appears as "?" marks
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Windows
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: gnucash-win-maint
gnucash-win-maint
Depends on:
Blocks:
 
 
Reported: 2013-11-03 07:40 UTC by Anand
Modified: 2018-06-29 23:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anand 2013-11-03 07:40:40 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.
Comment 1 Frank H. Ellenberger 2013-11-05 17:35:33 UTC
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.
Comment 2 Anand 2013-11-05 17:53:12 UTC
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.
Comment 3 Anand 2013-11-05 18:01:09 UTC
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 ?.
Comment 4 Frank H. Ellenberger 2013-11-07 13:06:14 UTC
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!
Comment 5 Geert Janssens 2013-12-07 17:07:13 UTC
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.
Comment 6 Frank H. Ellenberger 2013-12-07 17:31:39 UTC
I found just another pointer:
http://wiki.gnucash.org/wiki/Windows#Font_problems
Can you check this too?
Comment 7 Anand 2013-12-07 18:30:00 UTC
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.
Comment 8 Anand 2013-12-07 19:07:04 UTC
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.
Comment 9 Frank H. Ellenberger 2013-12-07 23:58:51 UTC
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?
Comment 10 Geert Janssens 2013-12-08 10:15:38 UTC
@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.
Comment 11 John Ralls 2017-09-24 22:49:26 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 12 John Ralls 2018-06-29 23:20:48 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=711317. Please update any external references or bookmarks.