|
5精币
编码前:{"MAC1":"","DEVICEID":"00000000-3d07-00df-0000-000000000000","ANDROIDID1":"9e55cca90c40812e","AAID":"","IP":"172.16.1.4","OAID":"","NWS":"wifi","VAID":"","CARRIER":"5","NET_TYPE":"WIFI"}
编码后:%7B%22MAC1%22%3A%22%22%2C%22DEVICEID%22%3A%2200000000-3d07-00df-0000-000000000000%22%2C%22ANDROIDID1%22%3A%229e55cca90c40812e%22%2C%22AAID%22%3A%22%22%2C%22IP%22%3A%22172.16.1.4%22%2C%22OAID%22%3A%22%22%2C%22NWS%22%3A%22wifi%22%2C%22VAID%22%3A%22%22%2C%22CARRIER%22%3A%225%22%2C%22NET_TYPE%22%3A%22WIFI%22%7D
发现它下划线并没有编码
如果我直接用URL编码,会把下划线也一起编码了
除了一点一点的去拼凑
还有没有什么比较快捷点的方法
因为我还有其他比较长的文本,有很多下划线
|
最佳答案
查看完整内容
调试输出 (编码_URL编码_快速 (到字节集 (#常量1), ))
|