解法:要比對txt檔與Java字串的長度,得用string.getBytes("想要的編碼").length,若不指定編碼,會用預設的UTF-8,就是每個中文字為3 Bytes,若指定 ...
確定! 回上一頁