99% encoding problems in Python 2 is because str(), the fundamental type converting function, is not safe.<p><pre><code>    output = &#x27;&#x27;.join(str(x) for x in some_list)
</code></pre>
Can you spot the danger here? Can you imagine how many hidden str() calls in every lib&#x2F;modules?