微信公众号开发 ,使用 spring RestController @ResponseBody 通过return 直接返回xml数据时, 中文字符乱码问题, 经核查服务器返回HTTP请求的时候 Content-Type: text/plain;charset=ISO-8859-1 , 经过在controller中配置@RequestMapping(value = "/receiveWeiXinMessage", method = RequestMethod.POST,produces = "application/json;charset=utf-8") 得到解决
参考http://blog.csdn.net/zknxx/article/details/52423608