Skip to content

For the lowercase German alphabet ß, upper() returns SS instead of the uppercase German alphabet  #135630

Closed as not planned
@hyperkai

Description

@hyperkai

Bug report

Bug description:

For the uppercase German alphabet , lower() returns the lowercase German alphabet ß as shown below. *Additionally, upper() returns same as the input:

up = 'ẞ'

print(up.lower()) # ß

# print(up.upper()) # ẞ 
# ↑↑↑↑ Additional ↑↑↑↑

But for the lowercase German alphabet ß, upper() returns SS instead of the uppercase German alphabet as shown below. *Additionally, lower() returns ß same as the input:

lo = 'ß'

print(lo.upper()) # SS

# print(lo.lower()) # ß
# ↑↑↑ Additional ↑↑↑

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions