Skip to content
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

Overwrite default encoding for json #78

Open
jendrusk opened this issue Jun 1, 2020 · 0 comments
Open

Overwrite default encoding for json #78

jendrusk opened this issue Jun 1, 2020 · 0 comments

Comments

@jendrusk
Copy link

jendrusk commented Jun 1, 2020

Class Body in method parseContentType is assuming (basing on RFC 2068) that ISO-8859-1 is default charset in case none is provided... while RFC-4627 (https://tools.ietf.org/html/rfc4627) says "JSON text SHALL be encoded in Unicode. The default encoding is UTF-8."

Possible resolutions are to change default encoding for JSON or to allow custom encoding using env variables or some parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant