Then, it's often time to dig further into "text versus binary data" issues. Clearly the most painful part of the process because it's often has to do with non-obvious business logic. Things get even worse when third party libraries (e.g. lxml) are in use. https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!