关于Ajax请求中传输中文乱码问题的解决方案

  public void UpdateCustomerByCustId()

  {

  int folderId = Convert.ToInt32(Request["folderId"]);

  string folderName = Request["folderName"];

  string folderName2 = Convert.ToString(System.Web.HttpUtility.UrlDecode(folderName));

  int custId = Convert.ToInt32(Request["custId"]);

  bool res = false;

  try

  {

  res = CustomerBusiness.UpdateCustomerByCustId(folderId, folderName2, custId);

  }

  catch (Exception ex)

  {

  throw;

  }

  Response.Write(res);

  }

  }

  }