从以下几方面排查: 数据库字符集 表字符集 连接字符集: useUnicode=true&characterEncoding=utf8 工程字符集: 这个容易被忽略。在IDEA中,要将file encodings 里所有的编码都设置为utf8