Ne peux pas voir le mots russe

k007
Messages : 4
Inscription : ven. avr. 29, 2022 2:48 pm

Re: Ne peux pas voir le mots russe

Message par k007 »

Hello,

It seems I faced with the same issue for MySQL database. I tried to create database with utf8_bin, utf8_general_ci, cp1251_general_ci, but when I save fields with Cyrillic chars, all of them are replacing by question marks ("?????"). In case H2 database, everthing is OK.

Could you please advice how to fix this issue?

Version 3.0.2.RELEASE
MariaDB 10.5.8 InnoDB

Thank you!

BR,
Andrey
k007
Messages : 4
Inscription : ven. avr. 29, 2022 2:48 pm

Re: Ne peux pas voir le mots russe

Message par k007 »

Let me answer to my own question. I've solved this using "?characterEncoding=utf8" in the connection string.

Code : Tout sélectionner

jdbc:mysql://localhost:<port>/<db>?characterEncoding=utf8
Dernière modification par k007 le ven. avr. 29, 2022 9:12 pm, modifié 1 fois.
Répondre

Revenir à « Questions générales / General questions »