Japanese charecters looks like junk when loaded to oracle 9i

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sun786
Participant
Posts: 34
Joined: Mon Feb 07, 2005 5:48 am

Japanese charecters looks like junk when loaded to oracle 9i

Post by sun786 »

There is some japanese data to be loaded to oracle 9i database ( UTF-8 ) .

Data looks like junk after its loaded through datastage to oracle tables.

what are the settings that I need to take care to load japanese chars to oralce.

Note : My source is SAP BW....using extract pack to pull data...
Please advise.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are at least 14 different ways that Japanese characters are encoded, including Shift-JIS. You need to find out how the data are encoded, and set the DataStage NLS map to that. You may also need to set environment variables such as NLS_LANG.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
palaniappan
Participant
Posts: 41
Joined: Wed Mar 05, 2003 1:28 am

Post by palaniappan »

What you see is not neccessarily what is stored in the DB. It depends on the settings of your PC for ex. So use the dump function and get the hex values of the data stored and check if they are what you intended to store.

Select dump(<column_name>,16) from <table_name>;

Thanks, Pal.
Post Reply