摘要:
private static String byte2hex(byte[] b) { StringBuffer buf = new StringBuffer(); int i; for (int offset = 0; offset < b.length; offset++) { i = b[off 阅读全文
摘要:
英文字母和中文汉字在不同字符集编码下的字节数英文字母:字节数 : 1;编码:GB2312 字节数 : 1;编码:GBK 字节数 : 1;编码:GB18030 字节数 : 1;编码:ISO-8859-1 字节数 : 1;编码:UTF-8 字节数 : 4;编码:UTF-16 字节数 : 2;编码:UTF 阅读全文