You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dmitry Pelevin (JIRA)" <ji...@codehaus.org> on 2013/11/02 18:49:52 UTC

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

    [ https://jira.codehaus.org/browse/MASSEMBLY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=335042#comment-335042 ] 

Dmitry Pelevin commented on MASSEMBLY-530:
------------------------------------------

This issue is partially solved with PLXCOMP-222. At least for archivers those handle Zip LEF flag.
                
> Allow configuration of encoding 
> --------------------------------
>
>                 Key: MASSEMBLY-530
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-530
>             Project: Maven 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
For more information on JIRA, see: http://www.atlassian.com/software/jira