Displays incomprehensible characters, I can not understand where and how to change the encoding.

Now everything is in standard encoding.

enter image description here

enter image description here

  • Try setting the encoding in url explicitly: jdbc:mysql://localhost/test?useUnicode=true&characterEncoding=utf-8 . - post_zeew
  • one
    When creating a database, what encoding was used? utf8_general_ci or another? - MrFylypenko
  • When creating the database, the standard encoding was used, that is, I did not specify it either. - Romag
  • one
    And if to start the program from the console, but not in IDE? Same problem? - Sergey Gornostaev
  • Yes, the same problem. - Romag

0