-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Wrong uppercase for ß #79660
Copy link
Copy link
Closed
Labels
A-UnicodeArea: UnicodeArea: UnicodeC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-UnicodeArea: UnicodeArea: UnicodeC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen:
I expected this to print
ẞ(see Capitalẞ).Instead, this happened:
The code printed
SSwhich is often use to representßin uppercase.Since there is a dedicated character for the capital
ẞ(which looks really similar to the lowercaseßin this font), I thinkto_uppercaseshould return the actual uppercase letter instead ofSS.Meta
rustc --version --verbose:rustc +nightly --version --verbose: