You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Georg Berky (JIRA)" <ji...@codehaus.org> on 2013/09/26 14:44:52 UTC
[jira] (MASSEMBLY-543) japanese filenames cannot be correctly
assembled by maven-assembly-plugin
[ https://jira.codehaus.org/browse/MASSEMBLY-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=333308#comment-333308 ]
Georg Berky edited comment on MASSEMBLY-543 at 9/26/13 7:44 AM:
----------------------------------------------------------------
I have similiar issues with German umlauts such as äöüÄÖÜ.
I found an article that seems to be related: https://blogs.oracle.com/xuemingshen/entry/non_utf_8_encoding_in
Originally the ZIP standard required file names to be encoded in IBM Codepage 437, but the standard for JAR required them to be encoded in UTF-8. The Java classes to create ZIP files followed the JAR specification and used UTF-8, resulting in garbled characters.
The article mentions that the corresponding Java classes have new constructors now. I haven't read through the source, but is it possible that the plugin is still using the old constructors?
was (Author: georg.berky):
I have similiar issues with German umlauts such as äöüÄÖÜ.
I found an article that seems to be related: https://blogs.oracle.com/xuemingshen/entry/non_utf_8_encoding_in
Originally the ZIP standard required file names to be encoded in IBM Codepage 437, but the standard for JAR required them to be encoded in UTF-8. The Java classes to create ZIP files followed the JAR specification and used UTF-8, resulting in garbled characters ????.
The article mentions that the corresponding Java classes have new constructors now. I haven't read through the source, but is it possible that the plugin is still using the old constructors?
> japanese filenames cannot be correctly assembled by maven-assembly-plugin
> -------------------------------------------------------------------------
>
> Key: MASSEMBLY-543
> URL: https://jira.codehaus.org/browse/MASSEMBLY-543
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Environment: Windows XP SP3 Japanese, Eclipse Ganymede 3.4.2
> Reporter: Eros Sy
> Attachments: 新規テキスト ドキュメント.xml
>
>
> I am successfully created the distribution zip file but when I add a file which is in Japanese character file name, it is include in the zip file but the file name was garbled.
> How to reproduce: add a file to be included in the distribution which file name is in Japanese character. i will provide a sample file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira