zoukankan      html  css  js  c++  java
  • http 中文乱码

     string RawUrl = request.Request.RawUrl;

    string cc= HttpUtility.ParseQueryString(RawUrl.Substring(1, RawUrl.Length-1))["字段"];  //不要问我问什么要减1 ,我特么也不知道为什么加了一斜杠就解析不出来了

    测试过 中文,英文,斜杠,

    /*- {}[]| _)(*^%$@!~<>?/.,.;'::"

  • 相关阅读:
    403
    311
    401
    310
    308
    309
    307
    304
    3-1
    2-11
  • 原文地址:https://www.cnblogs.com/qc-id-01/p/8656635.html
Copyright © 2011-2022 走看看