This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 'ß'.upper() should return 'ẞ'
Type: behavior Stage: resolved
Components: Unicode Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Richard Neumann, SilentGhost, eric.smith, ezio.melotti, vstinner
Priority: normal Keywords:

Created on 2019-05-31 11:32 by Richard Neumann, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg344065 - (view) Author: Richard Neumann (Richard Neumann) Date: 2019-05-31 11:32
Currently, calling the method .upper() on a string containing 'ß' will replace this character by 'SS'. It should, however, be replaced by 'ẞ'.
msg344066 - (view) Author: Richard Neumann (Richard Neumann) Date: 2019-05-31 11:33
See also: https://en.wikipedia.org/wiki/Capital_%E1%BA%9E
msg344067 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-05-31 11:39
Python implements Unicode standard when it comes to capitalisation rules. According to the latest standard 'ß' is upper-cased to 'SS'.
msg344068 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2019-05-31 11:52
See http://unicode.org/faq/casemap_charprop.html, search for "Why does ß (U+00DF LATIN SMALL LETTER SHARP S) not uppercase to U+1E9E LATIN CAPITAL LETTER SHARP S by default?"
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81294
2019-05-31 11:52:56eric.smithsetnosy: + eric.smith
messages: + msg344068
2019-05-31 11:39:09SilentGhostsetstatus: open -> closed

nosy: + SilentGhost
messages: + msg344067

resolution: not a bug
stage: resolved
2019-05-31 11:33:30Richard Neumannsetmessages: + msg344066
2019-05-31 11:32:40Richard Neumanncreate