How-to articles, tricks, and solutions about PYTHON-UNICODE
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c
This error occurs when a file or string that is being decoded using the UTF-8 encoding contains an invalid byte sequence.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 20: ordinal not in range(128)
This error is raised when trying to encode a Unicode string using the ASCII codec, and the string contains a character that is not within the ASCII range (0-127).