static IrbisEncoding() { EncodingUtility.RegisterRequiredProviders(); _ansi = Encoding.GetEncoding(1251); _oem = Encoding.GetEncoding(866); _utf8 = new UTF8Encoding ( false, // don't emit UTF-8 prefix true // throw on invalid bytes ); }
public static void TextWithEncoding_Initialize(TestContext context) { EncodingUtility.RegisterRequiredProviders(); }