标签:style color os ar sp c ad ef new
1、ASCII 码
byte[] postBytes = Encoding.ASCII.GetBytes(param);
2、UTF-8 编码
StreamReader reader = new StreamReader(receiveStream, Encoding.UTF8);
3、GB2312编码
Encoding myEncoding = Encoding.GetEncoding("gb2312");
StreamReader reader = new StreamReader(receiveStream, myEncoding);
StreamReader reader = new StreamReader(receiveStream, Encoding.Default);
StreamReader reader = new StreamReader(receiveStream, Encoding.UTF8);
标签:style color os ar sp c ad ef new
原文地址:http://www.cnblogs.com/gongyu/p/3981893.html