title: How do I convert character encodings with Javascript? JQuery
body: <p>Ive got this in an XML file that i parse with JQuery.</p>
  
  <pre><code>&lt;title&gt;L&amp;#229;ng&lt;/title&gt;
  </code></pre>
  
  <p>I'm using .text() for pulling out the text, but it's wrong encoded.<br>
  How do I get it encoded to proper text? I want 'Lång' out of it. </p>
  
  <p>Edit:</p>
  
  <p>I'm using JQuery for getting data. Have it on my work computer, but something like this:</p>
  
  <pre><code>$.ajax({
   type: 'GET',
   url: 'http://myserver/blah?query_string',
   dataType: 'xml',
   success: function(data) {
     var blah = $(this).find("blahblah").text(); 
   }
  });
  </code></pre>