2021
01-13
01-13
C# 实现特殊字符快速转码
我就废话不多说了,大家还是直接看代码吧~encodeURIComponent('\n')"%0A"encodeURIComponent('\\')"%5C"encodeURIComponent('/')"%2F"encodeURIComponent(',')"%2C"encodeURIComponent('\'')%27encodeURIComponent("\"")"%22"data=json;data=data.Replace("\\","%5C").Replace("\n","%0A");//.Replace("/"...
继续阅读 >