LibHac/libhac.Nand/DiscUtils.Core/CoreCompat/EncodingHelper.cs

23 lines
419 B
C#
Raw Normal View History

2018-07-09 18:49:59 +02:00
#if NETCORE
using System.Text;
#endif
namespace DiscUtils.CoreCompat
{
internal static class EncodingHelper
{
private static bool _registered;
public static void RegisterEncodings()
{
if (_registered)
return;
_registered = true;
#if NETCORE
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
#endif
}
}
}