title: javascript converting strings from gbk to utf-8
body: <p>I got text from internet with node.js and want to convert it from gbk encoding to utf-8.</p>
  
  <p>I tried to the node-iconv module, it didn't work.</p>
  
  <pre><code>var Iconv = require('iconv').Iconv;
  var gbk_to_utf8 = new Iconv('gbk', 'utf-8');
  var b = gbk_to_utf8.convert(new Buffer(body.toString()));
  console.log(b.toString());
  </code></pre>