doctave icon indicating copy to clipboard operation
doctave copied to clipboard

First headline is not recognized when File encoding is UTF-8-BOM

Open CleanCodeDeveloper opened this issue 3 years ago • 1 comments

First headline is not recognized when File encoding is UTF-8-BOM image

Works perfect after changing encoding to UTF-8 image

CleanCodeDeveloper avatar Jan 17 '22 12:01 CleanCodeDeveloper

Seems like the library must explicitly account for the existence of this BOM codepoint. There is some precedent for doing exactly this, and it doesn't seem too difficult: https://github.com/alexcrichton/toml-rs/pull/75/

I'm guessing this should be fixed in doctave-markdown

datdenkikniet avatar Jan 24 '22 07:01 datdenkikniet