写cookie时 string t =HttpUtility.UrlEncode(要写入到cookies的中文值);读cookie时 //读取cookies时 t = HttpUtility.UrlDecode(teacher_name);