`
21841625a
  • 浏览: 9313 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

eclipse birt 中文参数乱码

    博客分类:
  • birt
阅读更多
1.前台URL编码

document.getElementById("frame_buyInStoreReport").contentWindow.location = encodeURI(encodeURI(src));


2.后台报表设计器的scipt中。

var fpurchaseadd = reportContext.getParameterValue("fpurchaseadd");
if(fpurchaseadd!=null && fpurchaseadd!=""){
	where_sql += " and fpurchaseadd = '"+decodeURI(fpurchaseadd)+"' ";
}


OK中文解决。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics