Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET How do I configure Xceed Real-Time Compression for .Net to allow non-ascii file names?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20518 |

    What I’m trying to do is to compress files in real-time as they’re coming down in chunks from Azure Blob Storage, and then stream the compressed chunks immediately down to the browser. Everything works perfectly except the ability to allow non-ascii characters in the file names. The Xceed compression utility strips the files out. How would I set the real-time ZipWriter to allow for these non-ascii characters in file names? The recommendation is to use “ExtraHeaders”, however, that property is in a different namespace (Xceed.Zip vs. the ZipWriter which is in Xceed.Zip.ReaderWriter namespace). Would appreciate any advice!

    Imported from legacy forums. Posted by Sam (had 813 views)

    Fawzi [Xceed]
    Member
    Post count: 722

    Hi Sam,

    ZipWriter already uses the UTF-8 Unicode extra header by default.

    When you say “non-ascii characters only show up as mangled text.”, what tool are you using to unzip your archives?

    That tool probably doesn’t support non-ascii characters in zipped items

    Imported from legacy forums. Posted by Fawzi [Xceed] (had 931 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.