Page 1 of 1

new bug with utf8

Posted: Sat 06 May 2006 17:50
by ben
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.

Posted: Wed 10 May 2006 07:31
by Antaeus
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Posted: Wed 17 May 2006 08:54
by ben
is this fixed with the new .13 version?

Posted: Wed 17 May 2006 09:12
by Antaeus
Yes, we have applied this fix to MyDAC 4.30.0.13.