Safe decoding in python ('?' symbol instead of exception)
<p>I have code:</p>

<pre><code>encoding = guess_encoding()    
text = unicode(text, encoding)
</code></pre>

<p>when wrong symbol appears in text UnicodeDecode exception is raised. How can I silently skip exception replacing wrong symbol with '?' ?</p>
