Nodejs Grabs gbk Coded Random Codes of Web Pages with superagent

  node.js, question

I have searched too much online. I have tried everything like iconv-lite. I just can’t.

href =  'http://www.qq.com/' ;
 console.log(href);
 superagent.get(href).end(function (err, res) {
 var str = res.text;
 var buf = new Buffer(str);
 str = iconv.decode(buf, 'GBK');
 console.log(str);
 
 
 });
 
 After all night, can there be a solution?