Forum Moderators: open

Message Too Old, No Replies

Character encoding in Javascript

The euro symbol doesn't work in javascript

         

tforcram

5:03 pm on Nov 29, 2005 (gmt 0)

10+ Year Member



I'm working on a currency conversion function and I'm having trouble getting the currency symbols to show up. I've only tried a few, but what I have found so far is that £ works, and that € doesn't. Both work fine in the html, but when I try to add them back on with my javascript function, the euro just shows up as a question mark. Any ideas. I've tried encoding it all ways I can thinkg of, with escape chars, hex encodings and what not, but nothing seems to work. Thanks.

Fotiman

5:40 pm on Nov 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you have any sample code you can post?