前台代码: var wordsContent = encodeURIComponent(param); 后台接受 : String searchtext=URLDecoder.decode(wordsContent ,"UTF-8");