spring boot 的中文亂碼

首先 自檢IDEA的編碼 配置文件加入設置http tomcat spring.http.encoding.force=true spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true server.tomcat.uri-encoding=UTF-8 這時候再有問題,查看數據庫的字符編碼 SHOW VARIABLES
相關文章
相關標籤/搜索