很多人的博客都写了,如:http://www.cnblogs.com/fxllx82/archive/2008/04/15/1154534.html
http://www.cnblogs.com/xiexiaokui/archive/2007/11/07/952655.html等等,
我这里粘帖出来只是因为比较常用,方便自己查找,感谢不尽,如果有意见,可通知我撤销,谢谢!
方法一:
原文:http://www.soave.cn/blog/article.asp?id=232
在unicode 字符串中,中文的范围是在4E00..9FFF:CJK Unified Ideographs。
通过对字符的unicode编码进行判断来确定字符是否为中文。

方法二:

方法三:


















方法四:











方法五:












方法六:








































































































