MyBatis version

3.5.4

Database vendor and version

MySQL 8.0.17 (no matter)

Steps to reproduce

Chinese environment 100% have this problem

Expected result

No Garbled

Actual result

MyBatis Console log [org.apache.ibatis.io.DefaultVFS]-Reader entry Chinese Garbled

Suggestions

I refer to other people's modification suggestions on the Internet. The problem should be here

MyBatis Console log [org.apache.ibatis.io.DefaultVFS]-Reader entry Chinese Garbled

Comment From: harawata

Hello @HumblerCoderX ,

This has been reported before #1319 . Unfortunately, there is no easy fix because file name encoding is not always UTF-8 (on Windows with the default setting, it is not UTF-8, AFAIK). And the situation is even more complicated if the file is in a JAR/ZIP archive.

I believe there is no actual harm, so please just ignore the garbled characters or avoid using multi-byte characters in file/directory names. :D