Maven jar plugin changes filenames (Encoding errors)

馋奶兔 提交于 2019-12-24 06:38:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!