Posted: Tue Apr 26, 2005 6:01 am Post subject: retrieve double-byte chars from database
Newbie
Joined: 17 Mar 2005 Posts: 6
I have lines of code to retrieve data from sybase through ODBC in MB. The Data include double-bytes char. I have set Charset of Sybase as utf8. But the output message is not correct. I'v done following things:
1. set sybase to utf8
2. set CSSID as 1381 ( MQ guide said it is for windows )
3. set encoding as 546
The Double-Byte char I hardcode in ESQL could be output to message correct.
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
What's the data type of the records in Sybase? Sometimes just chaging the db to another ccsid does not change how certain data types store data particularly in the context of existing records.
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
I see your point and I agree with it. I would still try to do the I described above to test and make sure that sybase indeed stores the data in utf8. _________________ Mikhail Malamud
http://www.netflexity.com http://groups.google.com/group/qflex
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum