Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'encoding': 0.05; 'mrab': 0.05; 'string': 0.09; 'english,': 0.09; 'assume': 0.14; '12:38,': 0.16; 'encoding.': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'recognise': 0.16; 'subject:issue': 0.16; 'language': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User- Agent:1': 0.23; 'recognize': 0.24; 'server.': 0.24; 'header:In- Reply-To:1': 0.27; 'said,': 0.30; 'you?': 0.31; 'obscure': 0.31; 'linux': 0.33; 'sense': 0.34; 'maybe': 0.34; 'skip:d 20': 0.34; "can't": 0.35; 'received:84': 0.35; 'but': 0.35; 'in.': 0.36; 'words,': 0.36; 'skip:\xcf 20': 0.38; 'whatever': 0.38; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'dave': 0.60; 'most': 0.60; 'header:Reply-To:1': 0.67; 'default': 0.69; 'reply-to:no real name:2**0': 0.71; '8bit%:100': 0.72; 'characters,': 0.84; 'greek': 0.84; 'reply-to:addr:python.org': 0.84; 'angel': 0.91 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=ZMDuxxLb c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=0kkAYlmtguIA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=8GUTJHQ9iB4A:10 a=1936v9bgoMAEo1n43uoA:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett:2500 Date: Mon, 02 Sep 2013 15:44:34 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: python-list@python.org Subject: Re: UnicodeDecodeError issue References: <5222fc40$0$6599$c3e8da3$5496439d@news.astraweb.com> <52247CED.9050101@mrabarnett.plus.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378133055 news.xs4all.nl 16004 [2001:888:2000:d::a6]:48579 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53488 On 02/09/2013 13:24, Dave Angel wrote: > On 2/9/2013 07:56, MRAB wrote: > >> On 02/09/2013 12:38, Dave Angel wrote: > > > >>> ¶γνωστοόνομα συστήματος >>> >>> 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. > I don't know Greek either, and I don't think there's any other language that uses the Greek alphabet. >> >>> 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). >