-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Wrong cyrilic encoding #1783
Comments
Try adding the correct charset to the content type header |
|
I think I found the mistake. In almost all examples, the header is either not specified or Content-type: application/json; charset=utf-8. The problem is that spring considers Content-type: application/json; charset=utf-8 obsolete. And by default it writes the usual Content-type: application/json . I found some bad fixes. /
All options are bad and need to be discussed, I'm surprised no one has encountered this before |
If there is no charset provided with the content type header, Pact-JVM will use the value returned by |
I am already checked this. All in UTF-8 |
I have created a package in which DTO transfers from service 1 to service 2. Added application/json to the header. But it does not pass because when checking, it replaces Russian characters with other characters. what to do?
The text was updated successfully, but these errors were encountered: