public JsonResult ReturnTest() { return Json(new {myMsg ="hello world"}, "text/html; charset=UTF-8"); //没问题 //return Json(new { myMsg = "hello world" }, "text/json; charset=UTF-8"); //firefox下JSON提示另存为 //return Json(new { myMsg = "hello world" }); //IE下JSON提示另存为 }