Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: robert Newsgroups: de.comp.lang.python Subject: Re: [Python-de] =?utf-8?b?Z3Jvw59lcyDDnw==?= Date: Fri, 30 Jun 2017 10:39:23 +0200 Lines: 60 Message-ID: References: <0c4c5f44-9f63-2687-9792-3466e689aaff@redcor.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de DcruKd/WL0lsrkLiZ/DIJAwC22o8UGuPM3e3MyfC42Cw== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 In-Reply-To: Content-Language: en-GB X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <0c4c5f44-9f63-2687-9792-3466e689aaff@redcor.ch> X-Mailman-Original-References: Xref: csiph.com de.comp.lang.python:4830 On 30.06.2017 10:14, Peter Otten wrote: > Hermann Riemann wrote: > >> http://www.tagesschau.de/inland/eszett-103.html >> >> SuSE 42.2 >> >> python3 >> Python 3.4.6 (default, Mar 22 2017, 12:26:13) [GCC] on linux >> Type "help", "copyright", "credits" or "license" for more information. >> >>> c=3D'=E1=BA=9E' >> >>> d=3D'=C3=9F' >> >>> print(ord(c),ord(d)) >> 7838 223 >> >>> print(hex(ord(c)),hex(ord(d))) >> 0x1e9e 0xdf >> >>> c.lower() >> '=C3=9F' >> >>> ord(c.lower()) >> 223 >> >>> d.upper() >> 'SS' >> >> Hermann >> der etwas anderes erwartet hat. >> > http://unicode.org/faq/casemap_charprop.html#11 > > """ > Q: Why does =C3=9F (U+00DF LATIN SMALL LETTER SHARP S) not uppercase to= U+1E9E > LATIN CAPITAL LETTER SHARP S by default? > > A: In standard German orthography, the sharp s ("=C3=9F") is uppercased= to a > sequence of two capital S characters. This is a longstanding practice, = and > is reflected in the default case mappings in Unicode. A capital form of= =C3=9F is > attested in a number of instances, and has thus been encoded in the Uni= code > Standard. However, this character is not widely used, and is not recogn= ized > in the official orthography as the uppercase form of =C3=9F. Therefore,= the > original mapping to "SS" is retained in the Unicode character propertie= s. > """ > > Gibt's =C3=BCberhaupt jemanden, der das gro=C3=9Fe '=E1=BA=9E' verwende= t? in Switzerland we did solve this problem even better: We got rid of these funny characters decades ago :) Ich meine beide, gross und klein geschrieben .. > _______________________________________________ > python-de maillist - python-de@python.org > https://mail.python.org/mailman/listinfo/python-de