js 使用 encodeURIComponent编码一次中文 然后使用location方式把中文发送到php php再使用urldecode()反编码,还原得到中文,如果是gb2312的,还需要utf8转成gb2312