Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Unicode character corruption

Unicode character corruption

From: <jfcutler_at_juno.com>
Date: Thu, 08 Jan 2004 04:05:39 -0800
Message-ID: <F001.005DC245.20040108040539@fatcity.com>

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



The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: jfcutler_at_juno.com
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US