Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Peter Otten <__peter__@web.de> Newsgroups: de.comp.lang.python Subject: Re: [Python-de] =?utf-8?b?Z3Jvw59lcyDDnw==?= Date: Fri, 30 Jun 2017 10:14:02 +0200 Organization: None Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: news.uni-berlin.de TkJaxtb1eS8q0uK4ULRI9AeAQCEiDwYCCeyBLksTj3mQ== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org X-Injected-Via-Gmane: http://gmane.org/ User-Agent: KNode/4.13.3 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: X-Mailman-Original-References: Xref: csiph.com de.comp.lang.python:4827 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='ẞ' > >>> d='ß' > >>> print(ord(c),ord(d)) > 7838 223 > >>> print(hex(ord(c)),hex(ord(d))) > 0x1e9e 0xdf > >>> c.lower() > 'ß' > >>> ord(c.lower()) > 223 > >>> d.upper() > 'SS' > > Hermann > der etwas anderes erwartet hat. > http://unicode.org/faq/casemap_charprop.html#11 """ Q: Why does ß (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 ("ß") 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 ß is attested in a number of instances, and has thus been encoded in the Unicode Standard. However, this character is not widely used, and is not recognized in the official orthography as the uppercase form of ß. Therefore, the original mapping to "SS" is retained in the Unicode character properties. """ Gibt's überhaupt jemanden, der das große 'ẞ' verwendet?