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 ?

xkeshav
  • 53,360
  • 44
  • 177
  • 245
Mohammed Nagoor
  • 884
  • 2
  • 12
  • 25
  • 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. – Dpolehonski Sep 17 '12 at 12:30
  • [Check this answer](http://stackoverflow.com/a/37643800/2142994) – Ani Menon Jun 05 '16 at 15:59

4 Answers4

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>

Mohammed Nagoor
  • 884
  • 2
  • 12
  • 25
rynhe
  • 2,509
  • 1
  • 21
  • 27
6

This should work better: ₹

(&#x20b9;)

Sherlock
  • 7,525
  • 6
  • 38
  • 79
  • A character reference with a trailing semicolon may indeed work better, but the use of hexadecimal `₹` vs. decimal `₹` 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.) – Jukka K. Korpela Sep 17 '12 at 14:45
  • @Robin: The following code `₹` is not working, i think the symbol of ruppee doesn't support in firefox. – Mohammed Nagoor Sep 18 '12 at 03: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 '12 at 06:11
  • @Robin: I use the following code `echo "₹"` and `echo "₹"` – Mohammed Nagoor Sep 18 '12 at 10:52
  • Both ₹ and ₹ work in my Firefox. You probably have some kind of encoding problem. Did you set everything to be UTF-8? – Sherlock Sep 18 '12 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

shashwat
  • 7,851
  • 9
  • 57
  • 90
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.

Brendan Green
  • 11,676
  • 5
  • 44
  • 76
sreejagaths
  • 469
  • 5
  • 9