Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Display unicode in Windows XP

56576Mar 26 2004 — edited Apr 6 2004
I am using Windows XP and Oracle 9i. I found if I set the locale to Chinese I can see my Chinese charater in DB(stored as UTF8). But if I can add AMERICAN_AMERICA.UTF8 in config,sys, The Chinese characters become garbage characters, does anyone know why?

Thnaks.

Comments

JustinCave
In what tool are you viewing the data? Many tools don't support Unicode.

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
56576
I am using SQL Plus
JustinCave
Can you use iSQL*Plus instead? That supports Unicode by default.

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
56576
I can see the unicode in SQL Plus if the AMERICAN_AMERICA.UTF8 is not set. If I set, I cannot see, I don't understand why
50379
You probably have your NLS_LANG set to Chinese somewhere and Oracle is able to convert from UTF8 in the database to Chinese. SQLPLUS running on Windows OS can not be set to UTF8. It must be set based on the regional setting. As Justin said if you want to see your data in Unicode use iSQL*PLUS.
56576
I've not set nls_lang = chinese as I've used "set" to check the configuration.
JustinCave
Can you use iSQL*Plus instead?

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 4 2004
Added on Mar 26 2004
7 comments
437 views