编码-解码

1,byte[] jsonBytes = Encoding.UTF8.GetBytes(json);

2,    byte[] jsonBytes = Encoding.GetEncoding("iso-8859-1").GetBytes(json);

猜你喜欢

转载自www.cnblogs.com/sunzhenyong/p/9858121.html