How do I convert character encodings with Javascript? JQuery.

Posted by heffaklump on Stack Overflow See other posts from Stack Overflow or by heffaklump
Published on 2010-03-30T13:09:46Z Indexed on 2010/03/30 13:13 UTC
Read the original article Hit count: 363

Hi,

Ive got this in an XML file that i parse with JQuery.

<title>L&#229;ng</title>

I'm using .text() for pulling out the text, but it's wrong encoded.
How do I get it encoded to proper text? I want 'Lång' out of it.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about character-encoding