Based on this pull https://github.com/dotnet/cli/pull/8199 the CLI Tool expects there to be a UTF-8 Byte Order Mark (BOM) in the file. Creating a new solution from Visual Studio also seems to include the BOM. Is this expected?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@aolszowka Thank you for the question, assigning this to the author for further information.
@aolszowka Thanks for your question. Here are a few options where you might consider asking your question:​
https://social.msdn.microsoft.com/Forums/vstudio
https://www.reddit.com/r/VisualStudio/
As well, you might also consider using the Report a Problem tool to report the issue.
Just to make it clear: You are saying that the place to get information about format produced, marketed, and serviced by Microsoft is the Community?
Has anyone reported this to Visual Studio or MSBuild? Ideally those tools should interpret ANSI/UTF-8 files as UTF-8 by default since the encoding of all ANSI values is the same in UTF-8.