Character Set MySQL "set names"
Posted: Tue 22 May 2007 14:01
MySQL 5.032
Delphi 7
MyDac 4.30.0.10
the character set of mysql server ist utf8, tables and database the same. I switched my Delphi application to utf8 using set names:
MyConnection1.ExecSQL('set names utf8;',[]);
but the German special characters don't show correct and if I try to save a string to the database it gets deleted completely.
what did I do wrong?
Thank you for your help in advance!
Ulf
Delphi 7
MyDac 4.30.0.10
the character set of mysql server ist utf8, tables and database the same. I switched my Delphi application to utf8 using set names:
MyConnection1.ExecSQL('set names utf8;',[]);
but the German special characters don't show correct and if I try to save a string to the database it gets deleted completely.
what did I do wrong?
Thank you for your help in advance!
Ulf