前后台乱码问题

1.后台编码

URLEncoder.encode(type.getTypename(), "utf-8")

2.前台解码

decodeURI(data.typename)
原文地址:https://www.cnblogs.com/luoxiaolei/p/5292134.html