看板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》 ◣◣◢ ─╯