2

I do have MySQL database with french special characters. When connecting with spring data application encoding works just fine, when using quarkus I can't get correct encoding. This is URL that I'm using for connection:

quarkus.datasource.jdbc.url=jdbc:mysql://localhost:4306/db?characterEncoding=UTF-8&useUnicode=yes or

quarkus.datasource.jdbc.url=jdbc:mysql://localhost:4306/db?characterEncoding=UTF-8&useUnicode=true

kingkong
  • 1,537
  • 6
  • 27
  • 48
  • My notes on Spring say "true"; I don't know if "yes" will work. There are more issues to getting the connection and database "right". See this if you see gibberish: https://stackoverflow.com/questions/38363566/trouble-with-utf8-characters-what-i-see-is-not-what-i-stored – Rick James Sep 15 '22 at 00:30

0 Answers0