首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

eclipse birt 汉语言参数乱码

2013-04-09 
eclipse birt 中文参数乱码1.前台URL编码document.getElementById(frame_buyInStoreReport).contentWind

eclipse 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中文解决。

热点排行