We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a91e9b commit 3e98f9eCopy full SHA for 3e98f9e
src/Kavod.Vba.Compression/Extensions.cs
@@ -10,7 +10,7 @@ internal static class Extensions
10
[DebuggerStepThrough]
11
internal static byte[] ToMcbsBytes(this string textToConvert, UInt16 codePage)
12
{
13
-#if !NET48
+#if NET
14
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
15
#endif
16
return Encoding.GetEncoding(codePage).GetBytes(textToConvert);
0 commit comments