Chinese Characters not display in table [message #652028] |
Tue, 31 May 2016 08:00 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pstanand
Messages: 133 Registered: February 2005 Location: Chennai,India
|
Senior Member |
|
|
Hi,
I'm involving in a data migration project.
I have table sap_description in which short_desc nvarchar2(500) and long_desc NCLOB columns.
Some of the rows for this columns having chinese characters.
I used SQL server import export wizard to export the data in a flat file.
When I opened the file in textpad, these characters are changed to ?????.
I set up the textpad Configure -> Preferences ->Document Classes ->Text -> Font->Arial Unicode MS ->Script ->CHINESE_BIG5.
Even after these settings my file doesn't show the correct chinese characters.
This file when I read through external tables loaded values as ????? instead chinese characters.
So I checked my NLS_Parameters settings is there anything to be modified there to view the correct characters.
Attached is my NLS_Parameters snapshot.
I use SQL developer tool where also I did Tools->Preferences->Environment ->Encoding ->Cp1252.
But nothing is working for me.
I request your help to load my data properly for this table.
Appreciate your help in this regard.
thanks.
pstanand.
|
|
|
|
Re: Chinese Characters not display in table [message #652030 is a reply to message #652029] |
Tue, 31 May 2016 08:20 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Bill B
Messages: 1971 Registered: December 2004
|
Senior Member |
|
|
If the NLS charset that the database or workstation uses isn't a character set that can support the Chinese characters then oracle replaces the characters with a question mark when it displays it (problem with workstation settings) or when it stores it (database settings)
|
|
|
Re: Chinese Characters not display in table [message #652031 is a reply to message #652029] |
Tue, 31 May 2016 08:21 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pstanand
Messages: 133 Registered: February 2005 Location: Chennai,India
|
Senior Member |
|
|
Hi,
when generating the flat file the characters was good.
But when opening it through textpad it got changed.
The flat file was transferred to Oracle system using the Bitvise SSFT tool through.
The external table reads all the records. But when viewing through SQL Developer tool the characters are not displayed in chinese.
Kindly let me for any additional info to resolve this issue.
Thanks.
pstanand
|
|
|
|
Re: Chinese Characters not display in table [message #652035 is a reply to message #652033] |
Tue, 31 May 2016 08:36 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pstanand
Messages: 133 Registered: February 2005 Location: Chennai,India
|
Senior Member |
|
|
When I read the file through external table some of the records are pushed out in to the bad file.
so to avoid I opened the flat file in textpad and saved it again as File_format as UNIX and Encoding as UTF_8.
Then this file is read by the external table. When selecting the external table the records are displayed not correctly.
Am'I missing anything here. Please guide me.
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Chinese Characters not display in table [message #652049 is a reply to message #652043] |
Tue, 31 May 2016 09:31 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pstanand
Messages: 133 Registered: February 2005 Location: Chennai,India
|
Senior Member |
|
|
Here is the nls_session_parameters
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
|
|
|
|
|
Re: Chinese Characters not display in table [message #652072 is a reply to message #652051] |
Tue, 31 May 2016 22:14 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
pstanand
Messages: 133 Registered: February 2005 Location: Chennai,India
|
Senior Member |
|
|
Hi
is there any other way other than the db link and sql linked server?
Because the problem is when the flat file is opened through textpad it changes the chinese characters.
To create sql linked server I don't have the privilege of sysadmin role and that will not available.
So please help me to see the chinese characters in textpad and hope that will solve my problem.
thanks
|
|
|