Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'case.': 0.05; '(it': 0.09; 'subject:()': 0.09; 'dec': 0.15; 'subject:3.3': 0.16; 'subject:unicode': 0.16; 'wed,': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'this:': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'common': 0.26; 'question': 0.27; 'really,': 0.29; 'definition': 0.29; "skip:' 10": 0.30; 'that.': 0.30; 'to:addr :python-list': 0.33; 'there': 0.35; 'really': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'content- disposition:inline': 0.60; 'real': 0.61; 'subject:, ': 0.61; 'email addr:gmail.com': 0.63; 'discover': 0.72; 'received:10.94': 0.84; 'why?': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=@uni-mainz.de; q=dns/txt; s=ironport; t=1355928242; x=1387464242; h=date:from:to:subject:message-id:references:mime-version: content-transfer-encoding:in-reply-to; bh=H6bazfpknZtCidJfsk+Zczodil9kgADCDFZ3Lp0y39g=; b=E+4sa4bEXuI64JTM2yQudJHrd31o2LPP/TRhH3jLGXeeLAOKX9bLZ/1G Pa1PK2Qf4fjczKOHNbsWpzcg74Rx52K3mr0ZXeziCAubeRJid9ACxefGX T4ztptJbBJIKGCzVAvipcfLlA2pucLV0feBYoRIgoHM653tlRImw6LI57 U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQHAE3S0VAKXgZY/2dsb2JhbABEg0i6VXOCHgEBBTIBVgsYLhQNHCATiAEDE65aDYlVi2RpgRqCSGEDiCyMCIFVAYs3hRGCdYIh Date: Wed, 19 Dec 2012 15:43:57 +0100 From: Thomas Bach To: Subject: Re: Py 3.3, unicode / upper() References: <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [88.68.250.225] 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: 1355928242 news.xs4all.nl 6878 [2001:888:2000:d::a6]:37943 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35124 On Wed, Dec 19, 2012 at 06:23:00AM -0800, wxjmfauth@gmail.com wrote: > I was suprised to discover this: > > >>> 'Straße'.upper() > 'STRASSE' > > I really, really do not know what I should think about that. > (It is a complex subject.) And the real question is why? Because there is no definition for upper-case 'ß'. 'SS' is used as the common replacement in this case. I think it's pretty smart! :) Regards, Thomas.