Node.js http请求编码问号字符

我试图通过http客户端使用windows1251编码的网页获取请求,但结果包含西里尔字符应该在哪里的问号。 我尝试使用iconv-lite,但字符仍然不可读。 这是我的代码:

 var options = { hostname: 'example.com', path: '/', method: 'GET', headers: { 'Cookie': 'Mycookie=myvalue' }, encoding: null }; var results = ''; var req = http.request(options, function (res) { res.on('data', function (chunk) { results = results + chunk; }); res.on('end', function () { let conv = iconv.decode(new Buffer(results), 'windows-1251') console.log(conv) }); });