[wp-trac] [WordPress Trac] #30130: Normalize characters with combining marks to precomposed characters
WordPress Trac
noreply at wordpress.org
Mon Jul 27 14:46:42 UTC 2015
#30130: Normalize characters with combining marks to precomposed characters
-------------------------------------------------+-------------------------
Reporter: zodiac1978 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Formatting | Release
Severity: normal | Version:
Keywords: has-patch dev-feedback needs- | Resolution:
testing | Focuses:
-------------------------------------------------+-------------------------
Comment (by zodiac1978):
Replying to [comment:18 iseulde]:
> We could use [https://developer.mozilla.org/en-
US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
normalize] in JavaScript, but with limited browser support.
>
> This is not a TinyMCE problem though, it affects all input. A PHP
solution might be better, but we could consider also cleaning this up for
the editor on paste.
>
> Moving back to formatting.
Yes, it affects all inputs.
My PHP 5.3+ solution (for titles, excerpt, content and comments) is now in
the repo, too:
https://wordpress.org/plugins/normalizer/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30130#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list