アーカイブされたWebクロールから文字列を印刷しようとしていますが、印刷すると次のエラーが発生します。
print page['html']
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 17710: ordinal not in range(128)
印刷してみると、次のunicode(page['html'])
ようになります。
print unicode(page['html'],errors='ignore')
TypeError: decoding Unicode is not supported
この文字列を適切にコーディングする方法、または少なくとも印刷する方法はありますか?ありがとう。