UnicodeDecodeError issue
Dave Angel
davea at davea.name
Mon Sep 2 08:24:16 EDT 2013
On 2/9/2013 07:56, MRAB wrote:
> On 02/09/2013 12:38, Dave Angel wrote:
<snip>
>> ¶γνωστοόνομα συστήματος
>>
>> I don't have a clue what it might be; it's not English, and I don't
>> know whatever language it may be in.
>>
> You don't recognise Greek?
I recognize most of those as Greek characters, but as I said, I don't
know Greek. And because I can't recognize words, I can't assume it
might not be some other language that uses the same glyphs.
>
>> Does that string make any sense to you? You may want to try it on your
>> own machine, since the email may obscure the encoding. Or you might
>> want to do the decode using whatever the default encoding is for that
>> server.
>>
>> The Linux 'file' utility thinks this string is in ISO-8859, so you might
>> want to try a decode('ISO-8859-1') as well. (and maybe ISO-8859-2, -3,
>> -4, and -5)
>>
> It's ISO-8859-7 (Greek).
--
DaveA
More information about the Python-list
mailing list