Reputation: 39
We have a content management system from which we fetch the rupee symbol (₹) set in settings to show product price in Indian Rupees. We are not able to use HTML code for rupee (₹) where this setting is done. On some machines it renders correctly, but on couple of machines, the symbol is getting rendered as a box. I have also added the unicode meta tag to my HTML, but doesn't work.
Could anyone please provide solution to this?
Upvotes: 1
Views: 6691
Reputation: 39
Thanks Guys, I got this working using open google fonts. Used this font for the section where price was rendered: https://fonts.google.com/specimen/Hind
Apparently it was a windows 7 issue which doesn't render the symbol correctly because of the unavailability of correct font.
Upvotes: 1
Reputation: 66
Font awesome is having the rupee icon. You can use it as fonts. have a look on this link: http://fontawesome.io/icons/#currency
Upvotes: 1
Reputation: 475
Can you show us the head of your HTML-file? Which charset do you use?
Did you try it with the numeric char: ₹
in your HTML?
Otherwise - I know, it's not the best idea - you do a screenshot from the rupee sign and embed it as an image.
Upvotes: 0