Xceed .NET Libraries Documentation
UnicodeUsagePolicy Enumeration


Xceed.Zip Assembly > Xceed.Zip Namespace : UnicodeUsagePolicy Enumeration
Value representing the policy to apply when Unicode text is used either through the TextEncoding property or through the Unicode, UTF8Filename or UTF8Comment extra headers.
Syntax
'Declaration
 
Public Enum UnicodeUsagePolicy 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As UnicodeUsagePolicy
public enum UnicodeUsagePolicy : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberValueDescription
Always0

Always use Unicode text regardless of content.

This is the default behavior.

NonASCIIOnly1

Only use Unicode text if the text contains non-ASCII characters.

Since the text must be examined, there is a small performance penalty when this option is used.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Zip.UnicodeUsagePolicy

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Xceed.Zip Namespace
DefaultUnicodeUsagePolicy Property
ZippedFile.UnicodeUsagePolicy Property
ZippedFolder.UnicodeUsagePolicy Property