Re: Chinese Charset is displayed as '????'
Posted by: jay
Date: October 24, 2005 11:41PM

hi,
i can display chinse(gbk) correctly, using mysql api
"mysql_set_character_set(&mysql, "gbk");"

but when i use odbc.net(c#) ,it displays "??"!
string constr ="DRIVER={MySQL ODBC 3.51 Driver};" +
"CHARSET=gbk;"+
"SERVER=test" +
"DATABASE=test;" +
"UID=root;" +
"PASSWORD=root;" +
"OPTION=3;";
conn = new OdbcConnection(constr);

how to set the characterset?
sb,help me?
thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
3891
November 03, 2005 01:55AM
19258
January 18, 2007 09:47PM
Re: Chinese Charset is displayed as '????'
5248
October 24, 2005 11:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.