springBoot國際化亂碼

1、在application.xml配置文件中加入 messages: basename: i18n.login #國際化默認文件的位置 encoding: utf-8 #編碼格式 2、file—》setting—》Editor—》File Encodings,選擇UTF-8格式。
相關文章
相關標籤/搜索