I am trying to get special characters (for foreign surnames) working in pandoc. I followed the instructions here and made sure all special characters are represented using UTF encoding (as per this page. I chose HTML Entity (decimal) option. The resulting files work well when converting to docx or pdf but not html. Is there an encoding that will work for all three output types, or do I need to include some other option?
Here is a line of markdown code for conversion using the special character encoding
some example text with special characters Å, ä, ö
which should print as
some example text with special characters Å, ä, ö
pandoc commands
pandoc example.md -o example.docx # Works
pandoc example.md -o example.pdf # Works
pandoc example.md -o example.html # Doesn't work
running via inconv does not change output behaviour
iconv -t utf-8 example.md | pandoc -o example.html # Doesn't work