dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
3.95k stars 842 forks source link

chore: Change generated HTML encoding to UTF-8N (without BOM) #10069

Open filzrev opened 1 week ago

filzrev commented 1 week ago

This PR intended to fix #9545.

Currently docfx generates UTF-8 encoded HTML files with BOM. This PR change output file encoding to UTF-8N (without BOM)

This change introduce BREAKING CHANGES for some users who depends on BOM. But it' required for consistency. (Because docfx template files are already using UTF-8N).