Page 1 of 1

Unicodes an MySQL 4.1

Posted: Wed 13 Apr 2005 09:44
by Smarti
Hi,

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

Thanks

Posted: Wed 13 Apr 2005 11:45
by Serious
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();
...