Topic: SQL*Plus and PL/SQL >> Chinese Text into non Unicode Database
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Chinese Text into non Unicode Database |
| collin |
Posted: Jun 13, 2008 06:29:06 AM |
Total Post: 2
Joined: Jun, 2008
|
I have a requirement to store Chinese characters into a column within a table in a non Unicode database. All other textual columns in the database are stored as English text. I have done some reading on the subject and it looks like this can be achieved by using the data type NCHAR or NVARCHAR2 and amending certain NLS and Oracle init parameters. I have a database with the NLS_NCHAR_CHARACTERSET set to AL16UTF16 and have set-up my session NLS parameters to be as follows:
ALTER SESSION SET NLS_LANGUAGE='SIMPLIFIED CHINESE';
ALTER SESSION SET NLS_TERRITORY='CHINA';
However when I attempt to copy and paste a Chinese character, (e.g. 第一批异体字整理表) into an SQL*Plus window the characters get replaced by the symbol ?. I can copy and paste the characters into Notepad and other windows applications so I think the issue is Oracle related. Can anyone advise what I need to do so I can insert Chinese characters into a single NVARCHAR2 database column?
Regards
Collin |
|
|
Murtuja |
| Posted: Jun 13, 2008 06:41:06 AM | |
|
Total Post: 857
Joined: Jan, 2006
|
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 334 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|