View Full Version : € not showing correctly.
11-04-2012, 05:25 PM
My € shows as: â‚¬
same as é shows as: iï¿½
How do i fix this..?
Click on a seat here to test:
11-04-2012, 05:57 PM
ALT 0128 is Euro symbol in HTML.
alert('\u20AC'); // Euro symbol
"There is hardly anything in the world that some man cannot make a little worse and sell a little cheaper, and the people who consider price only are this man's lawful prey." John Ruskin
11-04-2012, 06:02 PM
I got this:
document.getElementById('seatcounter').innerHTML = "€ " + total;
yesterday it showed fine, but not now (as u can see on the website)
11-04-2012, 06:32 PM
You must use the unicode value if you want that character to always appear correctly as Philip already told you.
document.getElementById('seatcounter').innerHTML = "\u20AC " + total;
11-04-2012, 06:37 PM
Awesome thanks! :)
on to the next question
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.