2010年3月15日 ... 解法:要比對txt檔與Java字串的長度,得用string.getBytes("想要的編碼").length,若 不指定編碼,會用預設的UTF-8,就是每個中文字為3 Bytes,若 ...
www.google.com.tw