Menu

#334 ZIP task and international characters

0.85
open
nobody
Tasks (408)
5
2005-03-16
2005-03-16
No

I'm czech.
So very often my filenames containts international
characters in CP1250.

I have problem with ZIP task.

<zip zipfile="Fixes.zip" >
<fileset basedir="C:\Fixes">
<includesfile name="C:\Fixes\FileList.lst" />
</fileset>
</zip>

Now two problems:
1) if FileList.lst containst international filenames in
CP1250 then this files are NOT zipped at all. Only basic-
ascii files are zipped.

2) If FileList.lst is in UTF-8 encoding. Then ALL files
ARE zipped but resulting ZIP contains very strange
characters.

I think that reason for this behavior is that filenames in
ZIP should be in OEM charset (Latin2 in my case) but
they are incorrectly ecoded in CP1250.

Thanks for help
Rob

Discussion

  • Robert Kindl

    Robert Kindl - 2005-03-16

    Logged In: YES
    user_id=1240287

    I'm using
    NAnt 0.85 (Build 0.85.1869.0; rc2; 12.2.2005)

     
  • zchri

    zchri - 2005-07-06

    Logged In: YES
    user_id=1307561

    see patch #1230755 for further information regarding this
    problem and a possible solution.

     
  • Gert Driesen

    Gert Driesen - 2005-07-06

    Logged In: YES
    user_id=707851

    I can't locate the patch you're referring to.

     

Log in to post a comment.