shd101wyy / crossnote

Powerful markdown tool
Other
497 stars 126 forks source link

BOM Problem #67

Open ysiw opened 6 years ago

ysiw commented 6 years ago

mume engine can not handle markdown documents containing BOM (byte-order mark) correctly in some cases, such as front-matter, document import, ...

tmori3y2 commented 5 years ago

I also encountered this issue.

The related issue is shd101wyy/vscode-markdown-preview-enhanced#281.

Looking at this, front matter seems to work even with BOM in vscode, but Atom does not work.

Why utf-8-bom is used...

However, in the utf-8 standard, no BOM is correct, it would be correct to save without a BOM.