日期:2014-05-17 浏览次数:21082 次
string oldStr = "guwei4037"; byte[] bytes = Encoding.UTF8.GetBytes(oldStr);//转成bytes array string newStr = Encoding.UTF8.GetString(bytes);//还原成string Console.WriteLine(newStr);//输出 guwei4037