首页 > 编程语言 > 详细

spring boot + thymeleaf 乱码问题

时间:2019-06-17 11:45:30      阅读:143      评论:0      收藏:0      [点我收藏+]

spring boot + thymeleaf 乱码问题

hellotrms 发布于 2017/01/17 15:27
阅读 1K+
收藏 0

spring boot + thymeleaf ,现在一个简单的html页面都有乱码问题,(不是所有中文都是乱码,而是部分乱码)

配置如下:

spring:
  thymeleaf:
    prefix: classpath:/templates/
    suffix: .html
    mode: HTML5
    encoding: UTF-8
    content-type: text/html
    cache: false

以上配置应该是没问题的,还是会出现部分乱码情况

原文地址:https://www.oschina.net/question/2350780_2217792

spring boot + thymeleaf 乱码问题

原文:https://www.cnblogs.com/jpfss/p/11038634.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!