页面传值中文编码

通过html自带的window.encodeURI()方法来对中文进行编码,在后台也不需要进行转码,很方便

str = window.encodeURI(str);
原文地址:https://www.cnblogs.com/anningkang/p/12102732.html