UnicodeDecodeError issue

Peter Otten __peter__ at web.de
Sat Aug 31 03:25:30 EDT 2013


Ferrous Cranus wrote:

> Suddenly my webiste superhost.gr running my main python script presents
> me with this error:
 
> Code:
> UnicodeDecodeError('utf-8', b'\xb6\xe3\xed\xf9\xf3\xf4\xef
> \xfc\xed\xef\xec\xe1 \xf3\xf5\xf3\xf4\xde\xec\xe1\xf4\xef\xf2', 0, 1,
> 'invalid start byte')
 
> Does anyone know what this means?

>>> b'\xb6\xe3\xed\xf9\xf3\xf4\xef\xfc\xed\xef\xec\xe1\xf3\xf5\xf3\xf4\xde\xec\xe1\xf4\xef\xf2'.decode("iso-8859-7")
'Unknown hostname'





More information about the Python-list mailing list