URL中文乱码解决方法

encodeURI(searchword);

document.mformsearch.action=”/search.php?keyword=”+encodeURI(searchword);