Re: Chinese Charset is displayed as '????'
Posted by: Black Bits (Neeraj)
Date: May 25, 2006 01:33PM

i too facing the same problem..

i am trying to insert korean data into data through vb.net using following code

con = New OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=localhost;" _
& "DATABASE=abc;" _
& "UID=root;" _
& "PASSWORD=abcd;" _
& "CHARSET=euckr;" _
& "OPTION=3;PORT=3308")

con.Open()
cmd.Connection = con
cmd.CommandText = "insert into keyword (keyword) values (convert('" & TextBox.Text & "' using euckr))"
cmd.ExecuteNonQuery()

cmd.CommandText = "select * from keyword "
reader = cmd.ExecuteReader

While reader.Read
MsgBox(reader("keyword").ToString)

End While

still i am getting the "??????" in msgbox

Can anyone help?

Cheers .... :)

Neeraj Black Bits

Options: ReplyQuote


Subject
Views
Written By
Posted
3886
November 03, 2005 01:55AM
19238
January 18, 2007 09:47PM
5235
October 24, 2005 11:41PM
Re: Chinese Charset is displayed as '????'
4330
May 25, 2006 01:33PM


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.