juvy
作者juvy·2013-09-22 14:40
软件开发工程师·长园深瑞

解决传递中文参数乱码问题

字数 331阅读 1840评论 1赞 3

在js代码中用encodeURIComponent()对参数做转码

获取参数时,用@URLDecode对传递进来的参数再次转码,或在代理中用 Evaluate 去执行公式用 @URLDecode 对传递进来的参数再次转码 ,就可以得到中文参数

dim s as new notessession
dim cdoc as notesdocument
 Set cdoc =s.DocumentContext
 Dim queryAr As Variant
 queryAr=Evaluate(|@URLDecode("Domino";Request_Content)|,cdoc)’用domino 字符编码对url参数解码

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

3

添加新评论1 条评论

x675412x675412研发工程师失业
2013-09-25 20:23
一個編碼一個解碼
Ctrl+Enter 发表

作者其他文章

相关问题

相关资料

X社区推广