bhushankummar / amazon-mws

Amazon MWS NodeJS Wrapper
MIT License
197 stars 78 forks source link

charset error #82

Closed lincolnaleixo closed 5 years ago

lincolnaleixo commented 5 years ago

Hi there,

I'm getting wrong string from Amazon when there's an umlaut chars like ü. It gets translated to �. I've already tried to convert using Iconv but it seems the string isn't coming as ISO 8859-1. Can you please let me know if you change the charset after getting the data from MWS?

Thanks

bhushankummar commented 5 years ago

@robot110011 Please check this example.

https://github.com/bhushankumarl/amazon-mws/blob/master/examples/javaScript/feeds/getFeedSubmissionResultCharset.js

lincolnaleixo commented 5 years ago

Perfect, now it works!! Thanks for your quick reply