ajax获取数据中文显示问号

技术交流群:816227112

问题:

解决 : 

在 response.getWriter() 之前加上

response.setContentType("text/html;charset=UTF-8");

参考: https://blog.csdn.net/qq_17885583/article/details/80519148

猜你喜欢

转载自www.cnblogs.com/helloworld6379/p/10699978.html