You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "bdupont (JIRA)" <ji...@apache.org> on 2009/11/17 14:06:39 UTC
[jira] Issue Comment Edited: (COMPRESS-90) French accent
[ https://issues.apache.org/jira/browse/COMPRESS-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778851#action_12778851 ]
bdupont edited comment on COMPRESS-90 at 11/17/09 1:05 PM:
-----------------------------------------------------------
I'm doing that (tried every combination) but still no right display :
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), "UTF-8", false );
� la plage.txt
�phith�te.txt
�t�.txt
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), null, true );
... la plage.txt
‚phithŠte.txt
‚t‚.txt
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), "ISO-8859-1", true );
... la plage.txt 0 B 0 B
‚phithŠte.txt 0 B 0 B
‚t‚.txt
Thanks for the answer,
Ben
was (Author: bdupont):
I'm doing that (tried every combination) but still no right display :
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), "UTF-8", false );
� la plage.txt
�phith�te.txt
�t�.txt
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), null, true );
... la plage.txt
‚phithŠte.txt
‚t‚.txt
ZipArchiveInputStream zais = new ZipArchiveInputStream(new FileInputStream(fci.getFile()), "ISO-8859-1", true );
la plage.txt 0 B 0 B
phithte.txt 0 B 0 B
t.txt
> 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.