title: nodejs http response encoding
body: <p>Is in possible to read web page in non utf8 encoding? For example windows-1251.
  I tried to convert result using node-iconv:</p>
  
  <pre><code>var convertedBody = new Iconv('windows-1251','utf-8').convert(responseBody));
  </code></pre>
  
  <p>But I get exception:</p>
  
  <pre><code>Error: EILSEQ, Illegal character sequence.
      at IncomingMessage.&lt;anonymous&gt; (/root/nodejstest/test2.js:22:19)
      at IncomingMessage.emit (events.js:59:20)
      at HTTPParser.onMessageComplete (http.js:111:23)
      at Socket.ondata (http.js:1183:22)
      at Socket._onReadable (net.js:654:27)
      at IOWatcher.onReadable [as callback] (net.js:156:10)
  </code></pre>
  
  <p>Thanks!</p>