How to use non-unicode character set

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

How to use non-unicode character set

Post by Sven » Tue 08 Nov 2005 11:17

Our MySQL 4.1 database is set to latin1. The documentation of MySQLDirect.net says that if the Unicode-Property of the MySqlConnection class is set to false (default value), the "default client charset is used". But what do you mean by "default client charset" and how do I set this?

Thanks!

Serious

Post by Serious » Wed 09 Nov 2005 07:39

When MySqlConnection.Unicode property is set to false Encoding.Default encoding is used.
This value depends on target client machine regional and language settings.
Moreover, this mode allows MySQLDirect .NET to increase performance of fetching data.

Post Reply