jsp,js中文乱码解决办法

jsp,js中文乱码解决方法前台:data+encodeURIComponent(encodeURIComponent(Ext.encode(jsonArray)))?后

jsp,js中文乱码解决方法

前台:"data="+encodeURIComponent(encodeURIComponent(Ext.encode(jsonArray)))

?

后台:data=URLDecoder.decode(data, "UTF-8");

?

?