crossnote icon indicating copy to clipboard operation
crossnote copied to clipboard

BOM Problem

Open ysiw opened this issue 7 years ago • 1 comments

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

ysiw avatar May 10 '18 09:05 ysiw

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...

  • Source code handled by Visual Studio (not vscode) is often handled with utf-8-bom
  • utf-8 is often mistaken for ascii
  • In vscode the initial version default should have been utf-8-bom

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

tmori3y2 avatar Oct 20 '19 05:10 tmori3y2