StringBuffer result = new StringBuffer(); //用char循環(huán)取得每一個(gè)String的 字符 for (int i = 0; i < str.length(); i++) { char temp1 = str.charAt(i); int asciicode = (int)temp1; //如果是254以內(nèi)的ASCII 表示是西文字母和字符,直接顯示,無需翻譯
www.dbjr.com.cn/article/1174...htm 2025-6-6