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

Change default request encoding to utf-8 #321

Merged

Conversation

tobilarscheid
Copy link
Contributor

As discussed in #291, ISO-8859-1 encoding is at least unusual for json payloads.
This commit therefore changes the default request encoding to utf-8 if not otherwise specified by the client.
Also see https://cwiki.apache.org/confluence/display/TOMCAT/Character+Encoding#CharacterEncoding-Q3 for details.

As discussed in FraunhoferIOSB#291, `ISO-8859-1` encoding is at least unusual for json payloads.
This commit therefore changes the default request encoding to `utf-8` if not otherwise specified by the client.
Also see https://cwiki.apache.org/confluence/display/TOMCAT/Character+Encoding#CharacterEncoding-Q3 for details.
@hylkevds
Copy link
Member

hylkevds commented Dec 10, 2020

That's a lot simpler than I first expected. The linked page talks about filters... :)

@hylkevds hylkevds merged commit 668d211 into FraunhoferIOSB:master Dec 10, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants