md2html could accept an encoding parameter
Author: 1kastnerCreated Jul 11, 2015Updated Jun 22, 2020
My idea would be, that when you pass a parameter for the encoding, this is put into the html file. Kind of:
md2html myFile.md --encoding=utf8 > myFile.html
And then utf8-Encoding would be automatically part, like <meta charset="utf-8"/>
Source: evilstreak/markdown-js