Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Unicode character corruption
I'm using nvarchar2 columns in an Oracle 9.2i table. From a single connection in a single program I write data to the column and then read it back. I get different characters than I sent in. Can anyone offer any suggestions?
Jonathan Gennick writes that Oracle translates Unicode data to/from the national character set. Is there a way to turn this off? It's probably my problem.
Specifics: I'm using Visual Basic 6.0 on Windows 2000 (both of which natively use a UCS-16/UTF-16 character set) and MDAC/ADO 2.8. I insert data without bind variables: INSERT ... VALUES(N'~') where the ~ can be any UTF-16 character. For almost all code points above x007F the value is different when I read the column back in a record set.
Thanks, Jim
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jan 08 2004 - 06:05:39 CST
![]() |
![]() |