So I finaly got around to start implimenting zip functionallity in our Product :)
mple was running fine the last time I checked but now it seems like ZipPackage is obsolete and I have to use ZipArchive.
So I changed to this code:
(var zip =
But now I have the exact same problem again :(
By the looks of it, Encoding can be set but it doesn't change anything. Bug?