js 传中文参数,低版本浏览器乱码解决方法

使用encodeURI(‘中文’)

window.location.href = send_url + “?keyword=” + encodeURI(‘中文’) + strwhere;