characterEncoding issue with 8.0.27
Posted by: Andreas Sachs
Date: November 03, 2021 09:29AM

Hello,
i have a problem with character encoding latin1 after upgrade from mysql-connector-java-8.0.22 to 8.0.27.


Server: 5.7.36
Column: latin1_swedish_ci

Teststring: Žćaaa



8.0.22 without characterEncoding property : Ž?aaa (= Value inserted in the DB)
8.0.22 with characterEncoding property latin1: ??aaa
8.0.22 with characterEncoding property latin1 and connectionCollation property: Ž?aaa

8.0.27 without characterEncoding property : Incorrect string value
8.0.27 with characterEncoding property latin1: ??aaa
8.0.27 with characterEncoding property latin1 and connectionCollation property: ??aaa




How can i preserve the Ž?

Thanks for your help
Andi

Options: ReplyQuote


Subject
Written By
Posted
characterEncoding issue with 8.0.27
November 03, 2021 09:29AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.