This project is read-only.

Unicode Encoding not working

Apr 22, 2015 at 4:10 PM

I'm having problems with unicode encoding, when I name a file with a specific set of unicode characters, those characters are different in the actual extracted files.
Please find my code below.
What am I missing? Thanks
        using (var zip = new ZipFile())
            zip.AlternateEncodingUsage = ZipOption.Always; 
            zip.AlternateEncoding = Encoding.UTF8;

            foreach (var filename in filenames)
                zip.AddFile(filename, "");