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

WordPress Trac noreply at wordpress.org
Mon Jul 27 15:20:05 UTC 2015


#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:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by zodiac1978):

 Replying to [comment:20 iseulde]:
 > So can we do this for PHP 5.3+ in core? Needs someone else to give
 feedback, this is not my area.
 > Should we ''in addition'' also normalise on paste in TinyMCE in browsers
 that support it?

 The filter is precombining the characters just before save, so an
 additional normalization on paste in TinyMCE would be beneficial, because
 until the post is not saved you have a broken proofread, search, etc.

 I don't know if we should add this with a check for PHP 5.3 in core,
 because I don't know if this check for Normalization Form C is a
 performance problem, so I added the "needs testing" tag.

 Maybe some more advanced PHP devs can have a look at this for the
 performance question. I mean, it solves a '''Mac-only''' problem which is
 just there if you copy&paste from a PDF. I wouldn't add a normalization
 just for this case if it would slow down all other sites without any
 reason.

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


More information about the wp-trac mailing list