NLS settings to view/extract chinese characters

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
Tlam
Participant
Posts: 16
Joined: Thu Aug 23, 2007 12:56 am

NLS settings to view/extract chinese characters

Post by Tlam »

Hi,

I have setup the connection to a sql server database but somehow I am not able to view and extract the Chinese characters properly.

The database collation on sql server is set to Chinese_PRC_CI_AS , but when I see the properties of the connection to server it self it states SQL_Latin1_General_CP1_CI_AS. Please advise is the database collation the leading or the server connection collation? I have tried NLS MS936, for all the chinese characters I only see questionmarks like ? ? ? ? ? ? etc.

Thanks
Tlam
Participant
Posts: 16
Joined: Thu Aug 23, 2007 12:56 am

Post by Tlam »

Found the solution. Using NLS GB2313 to extract the data from the source.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Well done.
Just be aware that there are two sets of Chinese characters (simplified and traditional), and they use different code pages and therefore different maps. The other family of maps is BIG5.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply