-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoding parameter for Document class (2 issues) #340
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this block,
selling-partner-api/lib/Document.php
Lines 126 to 137 in 8b5cdc6
if encoding is passed and is valid, the if at line 126 is false so the else is executed, overriding the encoding parameter with the encoding in the response header. I think that if the parameter is passed and valid, it must override the one from the response.
Second problem is the Content-type response from Amazon for some reports in Europe. Instead of ISO-8859-1, amazon is sending Cp1252 that is not in the list of supported php encodings, rendering the auto-detect feature useless for some EU reports.
The text was updated successfully, but these errors were encountered: