HOW TO FIND CHINEES CHARECTER

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
basu.ds
Participant
Posts: 118
Joined: Tue Feb 06, 2007 12:59 am
Location: Bangalore

HOW TO FIND CHINEES CHARECTER

Post by basu.ds »

Hi ,

is there any function to find chines character in a string? other than UTF-8,UNICODE just i need a function to find china character

i am getting china characters in my string so i need to find which one is china character .
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

First you need to find out how your Chinese characters are encoded (for example GB2312 or BIG5), then how these are mapped to Unicode. Consult Unicode code tables to determine which code points represent Chinese characters (don't forget the CJK characters, which are shared between Chinese, Japanese and Korean). Then you will be able to determine which character(s) in your data are Chinese.
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