DiscUtils: Fat: Merge more upstream changes related to encoding registration

This commit is contained in:
Gustave Monce
2021-08-11 11:11:46 +02:00
parent efc81332f9
commit 62fa3844f9
2 changed files with 11 additions and 10 deletions
+6
View File
@@ -22,6 +22,7 @@
namespace DiscUtils.Fat
{
using DiscUtils.CoreCompat;
using DiscUtils.Internal;
using DiscUtils.Streams;
using System;
@@ -78,6 +79,11 @@ namespace DiscUtils.Fat
private ushort _bpbFSInfo;
private ushort _bpbBkBootSec;
static FatFileSystem()
{
EncodingHelper.RegisterEncodings();
}
/// <summary>
/// Initializes a new instance of the FatFileSystem class.
/// </summary>