[wp-trac] [WordPress Trac] #30130: Normalize characters with combining marks to precomposed characters
WordPress Trac
noreply at wordpress.org
Sat Apr 16 19:25: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 needs-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by gitlost):
There's a polyfill for the PHP Normalizer component in Symfony
https://github.com/Zodiac1978/tl-normalizer, and also one for
`String.prototype.normalize` at https://github.com/walling/unorm, as
mentioned by @zodiac1978 in his tinymce ticket (now at
https://github.com/tinymce/tinymce/issues/1971).
As a demo I forked zodiac's tl-normalizer plugin
(https://github.com/gitlost/tl-normalizer) to incorporate the polyfills.
This would mean that there's no restrictions now on PHP installation, or
on browsers (such as IE9) that lack `normalize()` to normalize text on
pasting into tinymce.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30130#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list