PDA

View Full Version : Currency Symbol on Form



keelerz
04-28-2011, 02:46 PM
I'm encountering a problem with the currency symbol in my form. Besides displaying a Pound Sterling figure, it shows '£' instead!



Pay Total:<input name="pay_total" type="text" id="pay_total" size="20" readonly="readonly" />

Thanks :)

teedoff
04-28-2011, 02:50 PM
I'm encountering a problem with the currency symbol in my form. Besides displaying a Pound Sterling figure, it shows '£' instead!



Pay Total:<input name="pay_total" type="text" id="pay_total" size="20" readonly="readonly" />

Thanks :)

Did you try inserting the html entity "&pound;" instead of the pound symbol?

keelerz
04-28-2011, 03:07 PM
Oh my god, thank you sooooo much!!!! :D It works like a charm ;)

teedoff
04-28-2011, 03:12 PM
Here (http://www.w3schools.com/tags/ref_entities.asp)is a list of html entities in case you ever need to know one. There are MANY other ways to "encode" special characters as well.