Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Å, Ä, Ö in Javascript

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I’m from Sweden, and we have these funny letters Å, Ä and Ö. I’ve written a Javascript for a popup-window, and put it into a .js file. When I want to use it in my html-code, a call it with a string of text, to be displayed in the popup-window. It works fine in InternetExplorer and Opera, but if the string contains Å, Ä or Ö, it doesn’t work in Netscape.
I’ve tried using “& Aring;” instead of Å, but it doesn’t help.
 
The solution for this is to use Unicode escaping.

Check the Netscape documentation for this :


And IBM's more complex paper if you have time :


Also for a reference of characters you should probably start at :


I hope this helps. Gary Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top