Hi,

I'm not sure if this is a problem with the MySql library or with a System library.  But what appears to be happenning is that  the Method MySql.Data.MySqlClient.MySqlConnection.Open() appears to be calling System.Text.Encoding.GetEncoding("latin1"); The reason I say this is that the error I get when trying to open a database is:

 Unhandled Exception: System.NotSupportedException: Encoding name `latin1' not supported
in [0x000fe] (at /opt/src2/mono-all/1.0.4/mcs-1.0.4/class/corlib/System.Text/Encoding.cs:446) System.Text.Encoding:GetEncoding (string)

And indeed if I run just the line System.Text.Encoding.GetEncoding("latin1") I get the same error of: 
Unhandled Exception: System.NotSupportedException: Encoding name `latin1' not supported
in [0x000fe] (at /opt/src2/mono-all/1.0.4/mcs-1.0.4/class/corlib/System.Text/Encoding.cs:446) System.Text.Encoding:GetEncoding (string)

Now I figure this is a problem either with System.Text or with the Mysql.Data Library.  But I can not tell unless I can find documentation of whether or not System.Text should support the string value of "latin1".

Does anyone know where the requirments for System.Text are kept? 

In addition, apparently I will not be able to get this library to work with my MySql database unless I change the language encoding.  Does anyone have any experience on which charchter set is common to both DotNet and MySql?

Finally, does anyone know to Whom do I contact to see if I can be of any help in the area of documentation?

Regards,

Joshua



Reply via email to