7

I am using the following currency code for indian ruppee symbol(&#8377). But it is not supported in firefox but supports in chrome.

Other Currency codes are supported in all the browsers.

Is there anyother code to fix the problem ?

2
  • 1
    Firefox does support that character code when using UTF-8, as well as Robin's answer as well. what verion of FF are you using? and can you confirm your character endcoding. Sep 17, 2012 at 12:30
  • Check this answer
    – Ani Menon
    Jun 5, 2016 at 15:59

4 Answers 4

11

If ₹ is not supported in your FF(Firefox) browser,then use the following css

font-family: DejaVu Sans;

Surely it will work because its working for me...

I have tested that in FF (15.0.1),chrome,IE8,IE9...its working fine....

Example :

<span style="font-family: DejaVu Sans;">&#x20b9;</span>

0
6

This should work better: ₹

(&#x20b9;)

5
  • A character reference with a trailing semicolon may indeed work better, but the use of hexadecimal &#x20b9; vs. decimal &#8377; is immaterial. (There used to be a small difference in browser coverage in the last millennium, but it was the other way around: decimal notation was more widely supported.) Sep 17, 2012 at 14:45
  • @Robin: The following code &#x20b9; is not working, i think the symbol of ruppee doesn't support in firefox. Sep 18, 2012 at 3:47
  • It is supported in Firefox. I see it when I open Firefox. Something else is wrong. What code do you use?
    – Sherlock
    Sep 18, 2012 at 6:11
  • @Robin: I use the following code echo "&#x20b9" and echo "&#8377" Sep 18, 2012 at 10:52
  • Both &#8377 and &#x20b9 work in my Firefox. You probably have some kind of encoding problem. Did you set everything to be UTF-8?
    – Sherlock
    Sep 18, 2012 at 10:56
6

It is not specific to just Firefox. I am here seeing this on all browsers.

The reason is Windows 7. On Windows 8, It works fine.

You will need to install following update
http://support.microsoft.com/kb/2496898

An update to support the new currency symbol for the Indian Rupee in Windows Vista, in Windows Server 2008, in Windows 7 and in Windows Server 2008 R2

1
  • Worked even before system restart after update installed. Aug 27, 2017 at 13:10
0

Eventhough its too late, But I am feeling its worthy to share

After great struggle, we have found a permanent and easy solution/fix for the issue in displaying indian rupee symbol on any Windows OS such as XP, Vista, 7, or any other.

The solution is, you just copy all the symbols(available in "Control Panel\Appearance and Personalization\Fonts" folder of Windows) from the machine(most of the newer versions of Windows such as few editions of Windows7 will support all the UNI code chars), and paste in Fonts folder of your machine . Then restart your machine, it will take few minutes to boot with new changes. Then check now. All the Symbols will gets displayed properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.