用encodeURIComponent();方法把中文转义一下再连到url地址中。服务器端无需反编码可直接取值。比escape方法好用。 转载于:https://www.cnblogs.com/cly84920/archive/2008/12/04/4427054.html