Maven jar plugin changes file names (encoding errors)

Maven has problems encoding file names with special characters in them.

I configured Maven to use UFT-8 encoding.

The same special characters within the files themselves do not change; they remain as they should be.

Example

Original file name: deniztürüç.xml

Filename in Maven generated by 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 are not changed.

Can someone explain why this is happening?

+1
source share

Source: https://habr.com/ru/post/1657806/


All Articles