title: How to encode/decode charset encoding in NodeJS?
body: <p>I have this code :</p>
  
  <pre><code>request({ url: 'http://www.myurl.com/' }, function(error, response, html) {
    if (!error &amp;&amp; response.statusCode == 200) {
      console.log($('title', html).text());
    }
  });
  </code></pre>
  
  <p>But the websites that Im crawling can have different charset (utf8, iso-8859-1, etc..) how to get it and encode/decode the html always to the right encoding (utf8) ?</p>
  
  <p>Thanks and sorry for my english ;)</p>