Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> [Q]Java & Oracle NLS[newbie]
I use JDBC to access the data from Oracel. I set the character of the
database as "zhs16cgb231280". so If I want get the correct result from the
Oracle. I must set the client session NLS to "zhs16cgb2312". else I can only
get the wrong result. I have use perl to realize it. But I am a newbie in
Java. I can use
$ENV{NLS_LANG}='SIMPLIFIED CHINESE_CHINA.ZHC16SGB231280';
in perl.
I don't know if there are methods do this in java. Thank you
Ray.
Received on Wed Sep 15 1999 - 03:23:20 CDT
![]() |
![]() |