commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé (JIRA) <j...@apache.org>
Subject [jira] Commented: (COMPRESS-90) French accent
Date Tue, 17 Nov 2009 10:46:39 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778814#action_12778814
] 

Julien Aymé commented on COMPRESS-90:
-------------------------------------

Did you try setting the encoding in your ZipArchiveInputStream ?
See ZipArchiveInputStream(InputStream inputStream, String encoding, boolean useUnicodeExtraFields)
constructor.

Try null to use the platform default encoding, or ISO-8859-1or UTF-8 to read french accent.

I hope this helps,
Regards,

Julien

> French accent
> -------------
>
>                 Key: COMPRESS-90
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-90
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: windows XP
>            Reporter: bdupont
>         Attachments: demo.zip
>
>
> I have a zip file containing files with names containing accents like é or è (à, ...)
> When extracting the namefile from a ZipArchiveEntry (zae.getName() ), it shows � in
place of accents
> Thanks in advance, 
> Ben

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message