Bluefish will covert all special characters to code. It’s supposed to handle letters, but also characters like m-dash and curly quotes. I’ve just started using it for that, so I’m not sure how thorough it is. You can also convert them all back. https://bluefish.openoffice.nl/index.html