@ResponseBody 乱码

  显然,这个问题不是我第一个遇到。已经有一些人做了研究了。但我发现这种方式在spring 3.1.0依然不行。没有小心跟踪源码。也没能给出方案,自己还是换回3.0.5了。3.1.0返回的是Content-Type:text/plain;charset=ISO-8859-1。而3.0.5则能返回Content-Type:text/plain;charset=utf-8

原文地址:https://www.cnblogs.com/coffee/p/2225181.html