Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
I'm looking for a way to dynamically specify the encoding of a file that is loaded into the browser locally as a file://
document.head.innerHTML += "<meta charset=\"utf-8\">";
document.body.innerHTML += "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.