using System.Text;byte[] buffer = Encoding.GetEncoding("utf-8").GetBytes("中国");string str = "";foreach (byte b in buffer) str += string.Format("%{0:X}", b);