On 30.06.2017 10:14, Peter Otten wrote:
Hermann Riemann wrote:
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))
Hermann der etwas anderes erwartet hat.
""" 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?
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 - email@example.com https://mail.python.org/mailman/listinfo/python-de