[wp-trac] [WordPress Trac] #24661: remove_accents is not removing combining accents
WordPress Trac
noreply at wordpress.org
Sat Jun 29 07:36:41 UTC 2013
#24661: remove_accents is not removing combining accents
----------------------------------+-----------------------------
Reporter: NumidWasNotAvailable | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: trunk
Severity: normal | Keywords:
----------------------------------+-----------------------------
As stated in ticket #22363, the function `remove_accents` does not remove
[http://en.wikipedia.org/wiki/Combining_character combining accents].
Here is my test:
{{{
remove_accents( 'Capture d’écran 2013-02-20 à 23.36.06.png' );
}}}
This returns `Capture d’écran 2013-02-20 à 23.36.06.png` since `é` and `à`
are made up with combining accents (e.g. `à` is `a` + {{{`}}}).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24661>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list