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

Commit 83fc7e3

Browse files
committed
Clarify that UTF8 is the default encoding
and that we're not overriding the encoding of the source files that we load.
1 parent 8a8ba3d commit 83fc7e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.DotNet.DeadRegionAnalysis/AnalysisEngine.Options.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ internal Options(
5959
solution = solution.AddDocument(
6060
documentId,
6161
Path.GetFileName(path),
62-
new FileTextLoader(path, Encoding.UTF8));
62+
new FileTextLoader(path, defaultEncoding: Encoding.UTF8));
6363
}
6464

6565
Documents = solution.Projects.Single().Documents.ToImmutableArray();

0 commit comments

Comments
 (0)