[转载] unicode into oracle?# Database - 数据库
b*e
1 楼
【 以下文字转载自 Java 讨论区 】
【 原文由 breeze 所发表 】
i have a unicode string that i want to store to an oracle table.. i
tried varchar2 and long, but the result is not readable when I read
them out in a jdbc select nor in toad (with a chinese viwer)
if i print the string before it's inserted into oracle it's fine..
so that means something went wrong during the insert.. what could it
be? my oracle is already set to American/America/UTF8 (the NLS_LANG
setting) and it's oracle 8.1.7.. and i'm using the oci8 dri
【 原文由 breeze 所发表 】
i have a unicode string that i want to store to an oracle table.. i
tried varchar2 and long, but the result is not readable when I read
them out in a jdbc select nor in toad (with a chinese viwer)
if i print the string before it's inserted into oracle it's fine..
so that means something went wrong during the insert.. what could it
be? my oracle is already set to American/America/UTF8 (the NLS_LANG
setting) and it's oracle 8.1.7.. and i'm using the oci8 dri