JS、C#编码解码
摘要:最近在项目中用到请求一个地址的时候,会传个JSON数据。刚开开始没什么问题,后来发现有特殊符号就会有问题,找到一些解决方案,在此记录下。 escape不编码字符有69个:*,+,-,.,/,@,_,0-9,a-z,A-Z encodeURI不编码字符有82个:!,#,$,&,',(,),*,+,,,
阅读全文
posted @ 2019-12-19 15:18
posted @ 2019-12-19 15:18
posted @ 2019-11-30 00:24
posted @ 2019-09-11 13:30
posted @ 2019-01-25 20:25
posted @ 2018-12-16 18:03