[wp-trac] [WordPress Trac] #30130: Normalize characters with combining marks to precomposed characters

WordPress Trac noreply at wordpress.org
Wed Apr 20 07:02:31 UTC 2016


#30130: Normalize characters with combining marks to precomposed characters
------------------------------------+-----------------------------
 Reporter:  zodiac1978              |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Formatting              |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+-----------------------------

Comment (by gitlost):

 > Not everyone has JavaScript enabled, so it would definitely some PHP
 equivalent where possible.

 True enough, I suppose it was just the amount of filters and that I
 haven't got my head around the various `pre_XXX` and `XXX_save_pre` and
 `edit_XXX` and `XXX_edit_pre` and `sanitize_XXX` etc and which do what
 when why...

 > Exploring this in a plugin is a good idea. I'd actually suggest to go
 further down that route and turn it into more of a feature project/plugin.

 Excellent, I'd be up for that. I'll ping @zodiac1978 on Slack to
 discuss...

 I updated the fork again - apart from a major bug where it was adding the
 filters too late, there was a dependency in the Symfony Normalizer on PCRE
 with UTF-8 support, which I've belatedly discovered can't be relied on to
 be available, so added a workaround ... if it's good it should be useful
 for tickets #22363 and #24661 also. The big things left to do are to work
 out which filters to use, customizer support, and unit tests.

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


More information about the wp-trac mailing list