[wp-trac] [WordPress Trac] #64821: remove_accents(): Add support for capital Eszett (ẞ → SS) in German locale

WordPress Trac noreply at wordpress.org
Fri Mar 6 15:09:33 UTC 2026


#64821: remove_accents(): Add support for capital Eszett (ẞ → SS) in German locale
-------------------------+-----------------------------
 Reporter:  apermo       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Formatting   |    Version:  4.3
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The uppercase ß (ẞ, Unicode U+1E9E, LATIN CAPITAL LETTER SHARP S) was
 officially standardized in German orthography in 2017 (DIN 5008 revision).
 The `remove_accents()` function already handles the lowercase variant (ß →
 ss) in the German locale block added in #3782, but does not handle the
 uppercase form.

 This is admittedly an edge case — ẞ appears almost exclusively in all-caps
 contexts such as street names and official documents. It is included here
 for completeness and to keep the German locale block consistent: every
 other character in that block has both its upper and lowercase form
 mapped.

 Currently `ẞ` is not matched by the German locale block and falls through
 without a mapping, so it is returned unchanged and later URL-encoded in
 slugs.

 **Steps to reproduce:**

 `echo remove_accents( 'STRAẞE', 'de_DE' );`
 // Current:  `STRAẞE`  (ẞ passed through unchanged)
 // Expected: `STRASSE`

 PR is already prepared and just waiting for the ticket ID.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64821>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list