string strcode = "汉字汉字汉字"; byte[] buffer = Encoding.UTF8.GetBytes(strcode); string msg = Encoding.UTF8.GetString(buffer, 0, buffer.Length);
转载于:https://www.cnblogs.com/lhlong/p/5757546.html