Try the String.codePointAt() methods, then Character.isSupplemntaryCodePoint(). Go to the Unicode website and find what ranges of values represent Chinese characters. Compare the results of getting the code point and the Unicode charts.
And check the method names; I have probably spelt them wrongly.
Joined: Oct 12, 2007
Thanks for the guidance to detect the chinese characters i used the following condition (detecting most of the chinese characters)..........
Yes, that's right. "CJK" means "Chinese, Japanese, Korean". And of course many Japanese kanji characters are identical in appearance to Chinese characters, so there's probably no point in trying to tell them apart.