Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!newsfeeder.ewetel.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.062 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:characters': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'sender:addr:gmail.com': 0.17; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'skip': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'topic': 0.29; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'way?': 0.31; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'similar': 0.36; 'handle': 0.38; 'rather': 0.38; 'recent': 0.39; 'more': 0.64; 'worth': 0.66; 'subjectcharset:utf-8': 0.72; 'intelligent': 0.74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=TcTD3EJASd43Q7kxebVnmfn9W50LrUGO9YAWI+pokEw=; b=rGGbS03qSNEPTxm0Kv8OMCzzxwYv2gAk777Q17DQEFmzaTzU1WBi2S2y40SDpW8k06 27C4HFWZ6x5BCwStRv3aXoVwB25ecLqiBOsxM2ceeYwPoPMUkxApdfoAvu39vEz/0v3a SghvoBoF1nIm0EKyoFfq2hH+7Hv8yqFJZGTOpkdU5HysXgIl0DrXm6qpoLsDktL5CeaL CjNtQiI4tjCUD8fyaVGZVQy0LG7KKOJWYIRmlDY7npxnhcvDkJMsUadEGQjMdxchge6q b9/crAqk2rfsYklky7xLO8ojzNKnhEaSKGc3DCzcesSP4WJPGXdMrvgZFo9yEBd/xlha tlZg== MIME-Version: 1.0 X-Received: by 10.42.208.211 with SMTP id gd19mr4192852icb.15.1383158906291; Wed, 30 Oct 2013 11:48:26 -0700 (PDT) Sender: skip.montanaro@gmail.com In-Reply-To: <52715232.5020108@fam-goebel.de> References: <52715232.5020108@fam-goebel.de> Date: Wed, 30 Oct 2013 13:48:26 -0500 X-Google-Sender-Auth: WdnCsT4qI5vXFXps5hk87fZUDkc Subject: =?UTF-8?B?UmU6IHNvcnRpbmcgZ2VybWFuIGNoYXJhY3RlcnMgw6TDtsO8Li4u?= From: Skip Montanaro To: Ulrich Goebel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383158914 news.xs4all.nl 15882 [2001:888:2000:d::a6]:34066 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58082 > That works, but my be there is a more intelligent way? Especially there > could be much more r.replace to handle all the accents as ^ =C2=B0 =C2=B4= ` and so on. Perhaps this? http://stackoverflow.com/questions/816285/where-is-pythons-be= st-ascii-for-this-unicode-database There is also a rather long-ish recent topic on a similar topic that might be worth scanning as well. I've no direct/recent experience with this topic. I'm just an interested bystander. Skip