.netdocumentation-generationdocfx

Docfx, how can make it render correctly accents characters?


I'm compiling a documentation with DocFx from Visual Studio with the NuGet package.

I write in Italian and we have a lot of characters like: à è ì ò ù. In the final render, my page looks like this:

Characters error image

The final html looks like this:

enter image description here

How can I make it render correctly?


Solution

  • I solved the issue saving the .md file with UTF-8 (without BOM) encoding.