日期:2014-05-18 浏览次数:20898 次
using System.Text; byte[] buffer = Encoding.GetEncoding("utf-8").GetBytes("中国"); string str = ""; foreach (byte b in buffer) str += string.Format("%{0:X}", b);