@dgelessus Your article describes my situation perfectly:

your program started belching UnicodeErrors. You kind of knew what to do with those, so you added an encode or a decode where the error was raised, but the UnicodeError happened somewhere else.