maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Berky (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-543) japanese filenames cannot be correctly assembled by maven-assembly-plugin
Date Thu, 26 Sep 2013 12:46:52 GMT

    [ 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:45 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, mojibake.

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: &#26032;&#35215;&#12486;&#12461;&#12473;&#12488;
&#12489;&#12461;&#12517;&#12513;&#12531;&#12488;.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

Mime
View raw message