This didn’t work:
new Option("€"+value,value);
Neither did this:
new Option("€"+value,value);
But this did:
new Option("\u20AC"+value,value);
Web / internet development, mostly using php / mysql
This didn’t work:
new Option("€"+value,value);
Neither did this:
new Option("€"+value,value);
But this did:
new Option("\u20AC"+value,value);
July 1, 2009 at 9:30 pm
Hello.
Good tip. Do you know where can i found also the symbols for other currencys in the format as you showed above for the euro?
Thanks.
July 2, 2009 at 10:02 am
Hi Heinrich
You can find all the unicode symbols at http://unicode.org/charts/charindex.html, the currencies in particular are in this pdf http://unicode.org/charts/PDF/U20A0.pdf
July 14, 2009 at 6:08 am
great tip thanks a lot