Unicodes an MySQL 4.1

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Smarti

Unicodes an MySQL 4.1

Post by Smarti » Wed 13 Apr 2005 09:44

Hi,

how can save Unicodes in MaySQL?
I have only ??????? in my database.

Thanks

Serious

Post by Serious » Wed 13 Apr 2005 11:45

1. Create table with unicode column

Code: Select all

`utf_text` mediumtext character set utf8
2. Set MySqlConnection.Unicode property to true

Code: Select all

MySqlConnection connection;
...
connection.Unicode = true;
...
connection.Open();
...

Post Reply