There is a Java application that uses Hibernate to work with MySQL. The application sends a String request in Russian to the database and receives a String response. On Win10, everything works.
Transferred to Linux. Now when I send a String request consisting only of numbers, everything is ok. But when the request consists of letters and numbers, the base does not understand it.
- The base is UTF-8
- IDEA worth UTF-8
- Hibernate is worth UTF-8
- I deduced to the console the request that goes to the database, everything is ok. All characters are right.
It is clear that the reason for the encoding, linux, when processing the request, will send some other encoding to the database ... how to fix it?