UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte
feedthetroll at gmx.de
feedthetroll at gmx.de
Fri Jul 5 08:06:17 EDT 2013
Am Freitag, 5. Juli 2013 13:27:25 UTC+2 schrieb Νίκος Gr33k:
> Στις 5/7/2013 2:16 μμ, ο/η Lele Gaifax έγραψε:
>> UnicodeDecodeError('utf-8', b'\xb6\xe3\xed\xf9\xf3
>> first string-------^^^^^^^
>> second string---------------^^^^^^^^^^^^^^^^^^^^^^
>
> Hold on please!
> From where do these dashes and carets characters come from?
ROTFL!!!!
Nikos, you made my day, again! Fun is back in these threads!
>
> Also from where do you see 2 strings?
Look, my little dumb baby: The dashes and carets point to the strings.
The first one being 'utf-8', the second one starting with '\xb6\xe3\xed' (being a bytestring, therefore the b before the ')
Sorry, I forgot. You are not using python for your business, therefore you can't know, that strings in python can for example be identified by surrounding '.
> ic an understandn onlt that utf-8 has failsed decoding some byte stream
> satrting with \xb6
So ... where did you call utf-8() so that it could try to decode something?
More information about the Python-list
mailing list