Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Issues with Localized file names

We are evaluating the zip utility and have run into an issue.  I zipped a file called á.txt with windows 7 and tried to unzip it in a silverlight test app.  The filename came back as "�.txt" (the first character is 0xFFFD instead of 0x00E1.

Is there a workaround for this?


No Data
  • 6759
    Offline posted

    Hi ccifra,

    as Mihail have said the filename is probably not encoded in UTF8 which is the default one for the Compression Library. It is most likely that the filenames in your archive has been encoded with IBM437 code page. You could try to load the zip archive this way:

    var zip = new ZipFile(yourSource, new CodePage437Encoding());


    Hope this helps.


No Data