unicode in SQL-query results
Posted: Thu 21 Feb 2008 17:48
Hello!
My console application get data from SQL query by this two ways:
or
Offcause, MySQL connection procedure contained
In my case query result is Unicode. But .AsString is incompatible with unicode. I can't use .AsWideString instead of .AsString - I got error from compiler.
Can anyone help me with resolution of problem?
My console application get data from SQL query by this two ways:
Code: Select all
dummy := SQL1.FieldByName('Name').AsString;Code: Select all
dummy := SQL1.Fields[0].AsString;Code: Select all
Options.UseUnicode:=true;Can anyone help me with resolution of problem?