Re: 如何判斷一個字是中文字或是AA,BB,ZZ ????
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.
※ 引述《jojoba26@kkcity.com.tw (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》 ◣◣◢ ─╯
討論串 (同標題文章)
java 近期熱門文章
PTT數位生活區 即時熱門文章