//编码
System.Text.Encoding enc = System.Text.Encoding.GetEncoding("utf-8");
cookie.Values.Add("type", HttpUtility.UrlEncode(type,enc));
//解码
System.Text.Encoding enc = System.Text.Encoding.GetEncoding("utf-8");HttpUtility.UrlDecode(Request.Cookies["cai"]["type"],enc)