[Bug locale/34406] New: towupper(U+00df) does not return U+1e9e

"addw at phcomp dot co.uk via Glibc-bugs" <[email protected]> Fri, 17 Jul 2026 16:40:09 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3D34406

            Bug ID: 34406
           Summary: towupper(U+00df) does not return U+1e9e
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: addw at phcomp dot co.uk
  Target Milestone: ---

these are the Latin Letters Sharp S, capital and small letters.
Converting the small (lower case) letter returns the lower case letter, not=
 the
upper case one.

Run the program below and get:
towupper: U+00df -> U+00df
towlower: U+00df -> U+00df
towlower: U+1e9e -> U+00df
towupper: U+1e9e -> U+1e9e

What should be output is:
towupper: U+00df -> U+1e9e
towlower: U+00df -> U+00df
towlower: U+1e9e -> U+00df
towupper: U+1e9e -> U+1e9e

The important difference is on the first line.

The test works correctly on Alpine Linux which uses Musl.

I have tested it (and found it buggy) on Debian 12 and Rocky Linux 9.8.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=