A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/340 below:

HTML preview is not UTF-8 · Issue #340 · jrblevin/markdown-mode · GitHub

If I export the md file with 'markdown-preview', the specials characters are not correctly read on my browser (firefox 60.0.1)

Expected Behavior

Export a md file containing letters with accents should be read in a browser supporting UTF-8.

Actual Behavior

The html output should support UTF-8

Steps to Reproduce
  1. Create a markdown file containing letters with accents
  1. Export with 'markdown-preview' command
  2. Open with firefox
Software Versions

Markdown v2.1
Emacs 25.3.1

Possible solution

I don't know much about HTML but I guess it misses a line before the title (markdown-mode.el:markdown-add-xhtml-header-and-footer :

<meta charset=\"UTF-8\"/>

Also, I don't know why the html starts with an xml header specifing the UTF-8...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4