vim-markdown-preview icon indicating copy to clipboard operation
vim-markdown-preview copied to clipboard

Encoding problems in Firefox

Open colorchestra opened this issue 7 years ago • 1 comments

Under Firefox 52.4.0 in Debian 9, special characters in rendered HTML files aren't shown properly; it works fine in Chrome. The "View Page Info" button in Firefox tells me that the document is encoded in Windows-1252. If I add a meta tag containing "charset="UTF-8"" to the top of the HTML file, everything works perfectly.

Would it be feasible to specify the charset in the HTML file by default on every render?

colorchestra avatar Oct 24 '17 15:10 colorchestra

I had the same problem with firefox (my default browser), but when I added this option

let vim_markdown_preview_pandoc=1

everything worked fine (you must have pandoc installed obviously)

mcagl avatar Jul 12 '18 16:07 mcagl