问题
Maven has issues encoding filenames with special characters in them.
I have configured Maven to use UFT-8 encoding.
The same special characters inside the files themselves do not change, they stay how they are supposed to be.
Example
Original file name: deniztürüç.xml
File name in Maven's generated JAR: deniztürüç.xml
File ID inside XML file: deniztürüç
As you can see, only the file name changes. The same characters inside the file itself do not change.
Can anybody explain why this is happening?
来源:https://stackoverflow.com/questions/27343367/maven-jar-plugin-changes-filenames-encoding-errors