Ionic Zip Library v1.9.1.6
UseUnicodeAsNecessary Property
Set to indicate whether to use UTF-8 encoding for filenames and comments.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Beginning with v1.9.1.6 of DotNetZip, this property is obsolete. It will be removed in a future version of the library. Your applications should use AlternateEncoding and AlternateEncodingUsage instead.")] public bool UseUnicodeAsNecessary { get; set; }
<ObsoleteAttribute("Beginning with v1.9.1.6 of DotNetZip, this property is obsolete. It will be removed in a future version of the library. Your applications should use AlternateEncoding and AlternateEncodingUsage instead.")> _ Public Property UseUnicodeAsNecessary As Boolean Get Set
[ObsoleteAttribute(L"Beginning with v1.9.1.6 of DotNetZip, this property is obsolete. It will be removed in a future version of the library. Your applications should use AlternateEncoding and AlternateEncodingUsage instead.")] public: property bool UseUnicodeAsNecessary { bool get (); void set (bool value); }
Remarks
If this flag is set, the comment and filename for the entry will be encoded with UTF-8, as described in the Zip specification, if necessary. "Necessary" means, the filename or entry comment (if any) cannot be reflexively encoded and decoded using the default code page, IBM437.
Setting this flag to true is equivalent to setting ProvisionalAlternateEncoding to System.Text.Encoding.UTF8.
This flag has no effect or relation to the text encoding used within the file itself.