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 ae24db0 commit 0034283Copy full SHA for 0034283
LibGit2Sharp/Core/Utf8Marshaler.cs
@@ -53,7 +53,7 @@ internal class StrictUtf8Marshaler : EncodingMarshaler
53
54
static StrictUtf8Marshaler()
55
{
56
- encoding = new UTF8Encoding(true, true);
+ encoding = new UTF8Encoding(false, true);
57
staticInstance = new StrictUtf8Marshaler();
58
}
59
@@ -90,7 +90,7 @@ internal class LaxUtf8Marshaler : EncodingMarshaler
90
91
private static readonly LaxUtf8Marshaler staticInstance = new LaxUtf8Marshaler();
92
93
- private static readonly Encoding encoding = new UTF8Encoding(true, false);
+ private static readonly Encoding encoding = new UTF8Encoding(false, false);
94
95
public LaxUtf8Marshaler() : base(encoding)
96
{ }
0 commit comments