jsはurlのパラメータを取得し、パラメータが中国語の場合はjsで復号します。


リレーのパラメータが
 
<a href="${pageContext.request.contextPath}/productdisplay/productDisplay_productDisplayUI.action?pkId=${pkId}&name=${name}" style="color:white; margin-top:10px; margin-bottom:10px;">${name}</a>
でurlパラメータを取得したjsは以下の通りです。
 
/** */
function getUrlVars(){
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?')+1).split('&');
for(var i = 0; i < hashes.length; i++) {
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
はurlに中国語があるとパラメータを取る時に中国語で文字化けしています。decodeURI()方法で復号します。