在webconfig的configuration节点下加入下述节点即可,NND:

注意写path的时候是访问的路径(刨掉站点名,而且前面不能有斜杠,MMD)

  <location path="User/fuck">
    <system.web>
      <globalization requestEncoding="gb2312" responseEncoding="gb2312" />
    </system.web>
  </location>

 

参考资料:http://www.siimviikman.com/2012/06/12/action-based-request-encoding-in-asp-net-mvc/