Really newbie question.  Please help me out. 
Anyway I have this form and you can submit your info with it.  The users
can use english, chinese in big5 or gb whatever.  I want to check the
length of the string they entered to make sure its not over a certain
length, say 25 characters.  problem is when they use chinese, it always
returns the Chinese as 首位日本外援杀入甲 or stuff like that, hopefully
thats unicode?  How would I go about counting how many Chinese characters
are there when they enter Chinese instead of just counting the number of
characters?  ie 首 should be 1 character not 8.
Thanks all!

Reply via email to