Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d7ef64e

Browse files
committed
Do not emit BOM, v. bad - kills the world
1 parent ee3de3b commit d7ef64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class HttpUtils
1414
{
1515
public static string UserAgent = "ServiceStack.Text";
1616

17-
public static Encoding UseEncoding { get; set; } = Encoding.UTF8;
17+
public static Encoding UseEncoding { get; set; } = new UTF8Encoding(false);
1818

1919
[ThreadStatic]
2020
public static IHttpResultsFilter ResultsFilter;

0 commit comments

Comments
 (0)