看板java
标 题Re: 如何判断一个字是中文字或是AA,BB,ZZ ????
发信站不良牛牧场 (Thu Jun 15 11:31:50 2006)
转信站ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!news.au!zoonews.ee.ntu!SimF
Don't you know the leading byte?
There're serveral different ways for different codepages
(eg ASCII, EBCDIC, UTF-8,....)
1: check what codepage you use.
In ASCII-BIG5, you just only need to identify if the leading byte is in
the range of double bytes.
2: Read the spec of the codepage you use.
※ 引述《[email protected] (Jojoba)》之铭言:
: as title
: thanks
: ꄊ: 뀠引述《jojoba26 (Jojoba)》之铭言:
--
我主修物理
选修计概
副修离散
唉.....三修国文
--
╭──── Origin:
<不良牛牧场> bbs.badcow.com.tw (210.200.247.200)─────╮
│ ↘ Welcome to SimFarm BBS -- From : [218.166.53.166] │
╰◣◣◢ ◢◢《不良牛免费拨接→电话:40586000→帐号:zoo→密码:zoo》 ◣◣◢ ─╯