js: var val = encodeURI(encodeURI("要传到服务器端的是值")); //调用2次encodeURI java: URLDecoder.decode(vString, "UTF-8");