Move <meta charset="utf-8"> to earlier in the HTML to fix rampant encoding issues
The HTML5 standard requires this. Because the declaration occurs so late, browsers will give up scanning for it after 1024 bytes, and fall back to some other encoding, resulting in "encoding gore". See https://web.dev/charset/ for details.
Example:
https://www.wikiwand.com/en/Wikipedia:Page_name => "Wikipedia:Page name"
vs
https://www.wikiwand.com/ko/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:%ED%8E%98%EC%9D%B4%EC%A7%80_%EC%9D%B4%EB%A6%84 => "위키백과:페ì´ì§€ ì´ë¦„" (Should appear as 위키백과:페이지_이름)
This happens in some browsers and not others. Firefox 89 exhibits the problem and shows this error in the console:
The character encoding declaration of document was found too late for it to take effect. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.
You might have to give up on some IE6 support with the ancient, ancient if lt IE 7
(etc) conditionals to make this work. You can definitely move the declaration above the Google Fonts loader.
This is technically a dupe of https://wikiwand.uservoice.com/forums/247843-wikiwand-website-extensions/suggestions/13187190--bug-encoding-issue