mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-13 21:22:22 +00:00
23 lines
617 B
C#
23 lines
617 B
C#
using System.Text;
|
|
|
|
namespace SharpCompress.Common
|
|
{
|
|
public static class ArchiveEncoding
|
|
{
|
|
/// <summary>
|
|
/// Default encoding to use when archive format doesn't specify one.
|
|
/// </summary>
|
|
public static Encoding Default { get; set; }
|
|
|
|
/// <summary>
|
|
/// Encoding used by encryption schemes which don't comply with RFC 2898.
|
|
/// </summary>
|
|
public static Encoding Password { get; set; }
|
|
|
|
static ArchiveEncoding()
|
|
{
|
|
Default = Encoding.UTF8;
|
|
Password = Encoding.UTF8;
|
|
}
|
|
}
|
|
} |