Cimbali / markdown-viewer

Markdown (.md) file viewer WebExtension for your browser.
Other
165 stars 28 forks source link

Frecnh language support #37

Closed geraldvannier closed 6 years ago

geraldvannier commented 6 years ago

Hi, not sure if it can be solved easily.. In french, we have chars like "é" , "ê", "ô" etc.. Here is what I see now in the browser: répondre (instead of répondre).

lesurp commented 6 years ago

It's a firefox issue, not related (directly) to the extension.

A quick fix is setting intl.charset.fallback.utf8_for_file to true (see https://superuser.com/questions/1215064/change-firefox-default-encoding-for-text-files), basically telling firefox open all local files as utf-8 encoded.

Another solution is to specify the BOM in the file, which is quite annoying, to say the least.

geraldvannier commented 6 years ago

Correct! Thanks :) it fixes the issue.

KeithLRobertson commented 6 years ago

Thank you, @pLesur ! I didn't know about that option. Very helpful!