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 =  '' ;
 superagent.get(href).end(function (err, res) {
 var str = res.text;
 var buf = new Buffer(str);
 str = iconv.decode(buf, 'GBK');
 After all night, can there be a solution?