In firefox, open a new tab> go to about:configand click on the confirmation button
Find the key intl.charset.fallback.utf8_for_fileand double-click it to set its valuetrue
This solution works with standalone html files that do not contain the charset meta tag.
source
share