mindforger icon indicating copy to clipboard operation
mindforger copied to clipboard

Mindforger cannot read markdown files that have a BOM

Open Jaifroid opened this issue 5 years ago • 0 comments

I am running Mindforger in WSL (thank you very much for providing the instructions for this!) It works great, but I've run into one issue with any utf8 .md file that has a BOM. Because I've used PowerShell to process some of my converted markdown files, and because PowerShell by default outputs utf8 files with a BOM, almost all of my markdown files begin with a BOM. Mindforger simply cannot read them. It acts as if they were not there. If I remove the BOM from one file in an application like Zettlr (where it is clearly visible as a red dot), it instantly appears in the Mindforger notebook list. Clearly I could run a grep command recursively to remove the BOM very easily, but it seems to me that Mindforger should in principle be able to process these files, as a BOM is permitted in utf8 files and several Windows tools (including Notepad) output it by default. Pandoc has no problem with such files.

Many thanks for Mindforger, it looks great!

Jaifroid avatar Oct 25 '18 08:10 Jaifroid