StringBuilder request = new StringBuilder();
request.Append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
byte[] msg;
string decoded;
msg=System.Text.Encoding.UTF8.GetBytes(request.ToString());
decoded = System.Text.Encoding.UTF8.GetString(msg);
解码是<?xml version=\"1.0\" encoding=\"UTF-8\"?>
结果有\"
_\"
\r\n