commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilbert, Antoine" <AGilb...@korem.com>
Subject commons-compress
Date Fri, 24 Feb 2006 14:43:44 GMT
Hi

 

I'm trying the common-compress objects, but I'm unable to make it works
as expected.

 

I have filenames with special characters (French accents) to compress
(base zip format), I set the encoding as UTF-8 but my filenames are
getting wrong in the archive.

 

Here is how I init my stream

 

zos = new ZipOutputStream(new FileOutputStream(file));

zos.setEncoding("utf-8");

zos.setMethod(zos.DEFLATED);

zos.setLevel(5);

 

Does I'm doing something wrong ?

 

Antoine


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message