-
Notifications
You must be signed in to change notification settings - Fork 116
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
improper utf-8 handling in json-unit-spring #212
Comments
Maybe in
to
|
Good catch, thanks, will fix it. |
It seems that it's a problem on your side. Spring takes the encoding form the response content type. Can you check the 'Content-Type' header returned by the controller? I was able to reproduce it like this (you should do the opposit :)) https://github.com/lukas-krecan/JsonUnit/compare/unicode?expand=1 |
Note that
So the controller implements this API
My proposed fix would try to |
Ok, it's quite a mess but this should help #213 |
Released as 2.11.1 |
Describe the bug
When using
json-unit
withrest-assured
all works fine:But writing the same test with
json-unit-spring
andmock-mvc
causes encoding issues:->
The text was updated successfully, but these errors were encountered: