LibHac/libhac.Nand/DiscUtils.Core/CoreCompat/EncodingHelper.cs
2018-07-09 11:49:59 -05:00

23 lines
No EOL
419 B
C#

#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
}
}
}