•Change “%7B” to “{”
 •Change all “%2D” to “-“
 •Chnage “%7D” to “}”

 

XML中的编码对照:

<", "&lt;").Replace(">", "&gt;

 

建议对字符串进行如下处理:System.Web.HttpUtility.HtmlEncode(string input)

相关文章: