Re: 如何判斷一個字是中文字或是AA,BB,ZZ ????

看板java作者時間19年前 (2006/06/15 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
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 ◣◣─╯
文章代碼(AID): #14aDk500 (java)
文章代碼(AID): #14aDk500 (java)