We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcd9bc4 commit b451ccbCopy full SHA for b451ccb
lib/AmazonMwsResource.js
@@ -255,8 +255,8 @@ AmazonMwsResource.prototype = {
255
/**
256
* https://github.com/ashtuchkin/iconv-lite/issues/32
257
*/
258
- var str = iconv.decode(bufferString, 'win1251').toString();
259
- responseString = iconv.encode(str, charset).toString();
+ var win1251String = iconv.decode(bufferString, 'win1251');
+ responseString = iconv.encode(win1251String, charset);
260
} catch (Exception) {
261
debug('Exception iconv ', Exception);
262
return callback.call(self, new Error.AmazonMwsAPIError({
0 commit comments