UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

Νίκος nikos at superhost.gr
Thu Jul 4 08:52:59 EDT 2013


Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
> Also, try printing out ascii(os.environ['REMOTE_ADDR']).

'108.162.229.97' is the result of:

print( ascii(os.environ['REMOTE_ADDR']) )

Seems perfectly valid. and also have a PTR record, so that leaved us 
clueless about the internal server error.
-- 
What is now proved was at first only imagined!



More information about the Python-list mailing list