How do I insert the following symbols into Javascript?

wsme
wsme used Ask the Experts™
on
How do I insert the following symbols: ä ö into Javascript using Dreamweaver?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Consultant & Challenge Subduer
Top Expert 2009
Commented:
You can use a hex-escaped characters:

var myString = '\xe4\xf6';

Or by using unicode-escaped characters:

var myString = '\u00e4\u00f6';

http://www.c-point.com/javascript_tutorial/special_characters.htm

Commented:
There is a fairly comprehensive universal converter on this web site:

http://rishida.net/tools/conversion/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial