You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Max Schaefer (JIRA)" <ji...@codehaus.org> on 2010/11/16 10:03:04 UTC

[jira] Created: (MASSEMBLY-530) Allow configuration of encoding

Allow configuration of encoding 
--------------------------------

                 Key: MASSEMBLY-530
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-530
             Project: Maven 2.x Assembly Plugin
          Issue Type: Improvement
    Affects Versions: 2.2
            Reporter: Max Schaefer


Zips, that encode the file names with e.g. UTF-8 are not properly unpacked because the system default encoding is assumed. 
I tracked down that PlexusIoZipFileResourceCollection initialises a ZipFile instance passing in just the file. However, a second parameter of ZipFile allows to control the encoding. I would like to be able to specify that encoding when unpacking a dependencySet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MASSEMBLY-530) Allow configuration of encoding

Posted by "Lars Corneliussen (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309755#comment-309755 ] 

Lars Corneliussen commented on MASSEMBLY-530:
---------------------------------------------

I need the same thing!
                
> Allow configuration of encoding 
> --------------------------------
>
>                 Key: MASSEMBLY-530
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-530
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Max Schaefer
>
> Zips, that encode the file names with e.g. UTF-8 are not properly unpacked because the system default encoding is assumed. 
> I tracked down that PlexusIoZipFileResourceCollection initialises a ZipFile instance passing in just the file. However, a second parameter of ZipFile allows to control the encoding. I would like to be able to specify that encoding when unpacking a dependencySet.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira