Klaros und utf-8 problem

dirk sprenger, modified 11 Years ago.

Klaros und utf-8 problem

Youngling Posts: 4 Join Date: 12/18/12 Recent Posts
hallo,

ich habe momentan probleme bei einem testticket in der beschreibung chinesische schriftzeichen nach der eingabe zu speichern.
nach dem speichern werden aus diesen dann lauter fragezeichen ???????

was muss man tun, dass diese richtig dargestellt werden?

wir haben eine mysql datenbank und diese läuft unter latin-1
haben diese auch auf utf-8 umgestellt. leider ohne erfolg.
thumbnail
Patrick Reilly, modified 11 Years ago.

RE: Klaros und utf-8 problem

Padawan Posts: 71 Join Date: 2/23/11 Recent Posts
Hallo Dirk,

willkommen in der Communiy. Ich übersetze dies in Englisch, so dass andere Mitglieder das lesen können.

Ich schätze dass du nur die MySQL Instalation oder die Datenbank umgestellt hast. Alle einzelnen Tabellen müssen auch umgestellt werden. Ein Skript das sowas wie "ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;" auf alle Tabellen ausführt sollte das machen.

Eine Alternative wäre mysqldump zu nutzen, um einen UTF-8 Datendump anzulegen und die Daten nochmal in eine neue utf-8 Datenbank zu importieren - am besten nachdem Klaros-Testmanagement einmal hochgefahren und wieder runtergefahren worden ist auf die neue leere Datenbank. Das bedeutet dass Klaros die Tabellen dann richtig anlegt hat.

Nochmal willkommen!
Mit freundlichen Grüßen,
Patrick

dirk sprenger:

Hello,

I have a problem at the moment saving a test ticket after entering chinese characters in the description. After saving all of these characters are changed into question marks ???????

What do I need to do in order to display these properly?

We have a MySQL database which runs in latin-1 encoding.
We changed this database to utf-8, unfortunately without success


Hello Dirk,

welcome to the community. I am translating this message to english so that other members will be able to read it.

I would guess that you have only changed the installation or the database itself to utf-8. Each individual table must also be changed. A script which runs, e.g. "ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;" on each table should do this.

An alternative would be to use mysqldump to create a utf-8 encoded dump of the data and to import it into a new utf-8-encoded database - preferrably after Klaros-Testmanagement has been started and stopped while using this empty database (this causes Klaros-Testmanagement to create the new tables in utf-8 encoding.

Once again, welcome to the history.
Kind Regards,
Patrick
Roy Schumacher, modified 11 Years ago.

RE: Klaros und utf-8 problem

Youngling Posts: 18 Join Date: 1/8/13 Recent Posts
many thanks.
but we fixed this issue by modifying the database setup.

now it works fine wit russian and japanese ;)