[wp-trac] [WordPress Trac] #45592: Remove Accents

WordPress Trac noreply at wordpress.org
Sun Dec 16 01:18:54 UTC 2018


#45592: Remove Accents
-------------------------------+------------------------------
 Reporter:  MaximeCulea        |       Owner:  (none)
     Type:  enhancement        |      Status:  assigned
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  5.0
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  2nd-opinion => 2nd-opinion close


Comment:

 Replying to [comment:2 MaximeCulea]:
 > But why doing "replacements" only for certains languages ?

 Above the code you've quoted, there's a longer list of replacements that
 apply to all locales. Some locales, however, transliterate some characters
 differently. See #3782, #23907, #37086, #38078 for details. As noted in
 the comment, these are locale-specific replacements.

 > If my site is french and I upload an image with a filename with a "ß", I
 would expect to be replaced, isn't it ?

 It will be replaced with `'s'`, as per `'ß' => 's'` in
 [source:tags/5.0.1/src/wp-includes/formatting.php?marks=1550#L1548 line
 1550].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45592#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list