Page 1 of 1

MyDump BackupToFile() Unrecognizable Code

Posted: Sun 19 Jul 2009 09:37
by redlegend
my os is windows2000 chinese
my delphi version is 7
I used mydac 5.8, Tnt Unicode Control

my mysql server charset is utf8

when i use mydump backuptofile('c:\1.sql'), the file c:\1.sql is Unrecognizable Code, some character can recognizable, some is unrecognizable, oh, is a very big problem, who can help me?????

Posted: Mon 20 Jul 2009 14:37
by Dimon
To solve the problem you should set the TMyConnection.Options.UseUnicode property to True.

Posted: Tue 21 Jul 2009 15:34
by redlegend
Dimon wrote:To solve the problem you should set the TMyConnection.Options.UseUnicode property to True.
I have already set TMyConnection.Options.UseUnicode to True, but the backup file still error coding.

Oh, how to solve this problem????????

Posted: Wed 22 Jul 2009 13:14
by Dimon
I could not reproduce the problem.
Please send me a complete small sample to dmitryg*devart*com to demonstrate it, including a script to create and fill table.