Page 1 of 1

utf8

Posted: Fri 17 Oct 2008 04:18
by tratienpham
I can't use utf8 when insert into database.
Who help me ?
Thanks,

Posted: Fri 17 Oct 2008 07:01
by Shalex
Please send me (alexsh at devart.com) a test project and the script that creates the database objects and fills them with data. We will try to reproduce the problem and notify you on the results.

Posted: Fri 17 Oct 2008 07:20
by Shalex
Also refer to our documentation: http://www.devart.com/mysqlnet/docs/ | Reference | CoreLab.MySql assembly | CoreLab.MySql namespace | Classes | MySqlConnection | Members | section "Public Properties", part "Unicode". There is an example how to use the Unicode property of the MySqlConnection class.

Posted: Mon 27 Oct 2008 14:20
Yes,

Use

Code: Select all

unicode=True
in the connectionstring instead of

Code: Select all

charset=utf-8