Страница:
ZipStrings and Unicode
Страницы
Code Reference
Create a Zip as a browser download attachment in IIS
Create a Zip from to a memory stream or byte array
Create a Zip with full control over content
Download and Unpack a zip from an FTP server with recovery
FAQ
FastZip
GZip and Tar Samples
Home
Joining the Team
Links
Release 1.0
Release 1.1
Release 1.2
Release 1.3.1
Release 1.3.2
Release 1.3.3
Release 1.3
Release 1.4.0
Release 1.4.1
Release 1.4.2
Release History
Unpack a Zip, including embedded zips, and re pack into a new zip or memorystream
Unpack a Zip with full control over the operation
Unpack a zip using ZipInputStream
Updating
Zip Samples
ZipStrings and Unicode
1
ZipStrings and Unicode
nils måsén редактировал(а) эту страницу 2018-07-21 17:12:01 +02:00
Commit 2c458be replaced the default code page with UTF-8, but ZipEntry.IsUnicodeText
was still set to false
by default.
This makes it the default behaviour of SharpZipLib to create zip files that claim they are not coded using UTF-8 (but instead with what is presumed to be the locale default code page), but still containing UTF-8 encoded file names.
PR #255 rectifies that by setting the ZipEntry.IsUnicodeText
default based on what ZipStrings.CodePage
(previously called ZipConstants.DefaultCodePage
) is set to.
It also moves the string transcoding from ZipConstants
to ZipStrings
as that class' name indicates another purpose.
There are still wrappers for all public functionality that provides full backwards compability.