[英]HttpUtility.UrlEncode will not encode ! as %21
HttpUtility.UrlEncode("!!!test", Encoding.GetEncoding("windows-1251"))
它没有编码!
到%21
- 为什么?
因为它是URL上的有效字符 ,不需要编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.