【发布时间】:2016-07-23 16:09:03
【问题描述】:
当使用带有 Thymeleaf 的 Spring 时,我所有的西里尔字符在页面上都显示为 ?????。
使用
@RequestMapping(value = "/login", method = RequestMethod.GET, produces = "text/html; charset=utf-8")
正如这里建议的那样:https://stackoverflow.com/a/11866822/1479414 和这里:https://stackoverflow.com/a/12023816/1479414 没有帮助。
如何解决这个问题?
【问题讨论】:
标签: java spring spring-mvc utf-8 thymeleaf