摘要: 1. 汉字转十六进制public static string GBToUnicode(string text) { byte[] bytes = System.Text.Encoding.Unicode.GetBytes(text); string lowCode = "", temp = ""; for (int i = 0; i < bytes.Length; i++) { if (i % 2 == 0) { temp = System.Convert.ToString(bytes[i], 16);//取出元素4编码内容(两位16进制) ... 阅读全文
posted @ 2012-04-14 18:55 一毛钱的爱 阅读(2015) 评论(0) 推荐(0)