Is there a way (with JS - no server-side stuff) to convert a windows encoding (e.g., windows-1252) to UTF-8?
I’m developing a small script that reads and displays some parsed text from an .html generated from Microsoft Word. The user, however, can save the .html in any number of encodings, but the default is windows-1252. I need a consistent encoding (UTF-8 is best, I’m assuming?).