string v1, v2, v3, v4, v5, v6, v7, v8, v9;
string q = "中国";
ViewBag.v1 = v1 = HttpUtility.UrlEncode(q, Encoding.GetEncoding("gb2312"));
ViewBag.v2 = v2 = HttpUtility.UrlDecode(v1, Encoding.GetEncoding("utf-8"));
如何将 “v2”的值 再转成 “中国”。
string q = "中国";
ViewBag.v1 = v1 = HttpUtility.UrlEncode(q, Encoding.GetEncoding("gb2312"));
ViewBag.v2 = v2 = HttpUtility.UrlDecode(v1, Encoding.GetEncoding("utf-8"));
如何将 “v2”的值 再转成 “中国”。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货