new bug with utf8
Posted: Sat 06 May 2006 17:50
hello,
mydac latest version
mysql 4.1.18nt
MyConnection charset utf8
UseUnicode := true
Table in DB is utf8 as well as all fields.
this query:
INSERT INTO table
SET value1 = :value1, value2 = :value2
will be executed fine if I pass data to all values
but if we say
Query.ParamByName('value2').AsString := Edit2.Text
and Edit2.Text is empty (without data)
the Query.Execute produces AV.
mydac latest version
mysql 4.1.18nt
MyConnection charset utf8
UseUnicode := true
Table in DB is utf8 as well as all fields.
this query:
INSERT INTO table
SET value1 = :value1, value2 = :value2
will be executed fine if I pass data to all values
but if we say
Query.ParamByName('value2').AsString := Edit2.Text
and Edit2.Text is empty (without data)
the Query.Execute produces AV.