Un-double-encoding UTF-8
A while ago I wrote about Rooting out Gremlins on text which was corrupted in a common way by accidentally double-encoding UTF-8. At the time I wrote that post I had really wanted to automate the fixing of these strings, but I couldn’t think through how to do it; thankfully the right idea finally came to me while helping someone else with more of this very common kind of corruption. Józef ➝…













