If I execute the following commands from Powershell core 7.2.6 on windows 11 to grab an XML file with a UTF-8 BOM:
gh api -H "Accept: application/vnd.github.raw+text" repos/zippy1981/CodeFirstBetter/contents/Zippysoft.CodeFirst.AD.Importer/Zippysoft_CodeFirst_AD_Importer.csproj | Out-File Zippysoft_CodeFirst_AD_Importer.csproj
I get a file Visual Studio Code thinks has no BOM, but does have 4 characters that seem to be a corrupt version of the BOM
dotnet cannot parse the file until I delete them. Changing the end of the pipeline to Out-File Zippysoft_CodeFirst_AD_Importer.csproj -Encoding utf8BOM does not fix the problem but oes prepend an ACTUAL BOM to it. How do I get rid of those characters?
