Anyone have a tip on how to prevent Wordpress from saving utf8 space characters (= hex C2 A0) in DB by replacing with space \x20 ?
Is there a hook that can be used to do a replace before saving to tables?
looks like any other "space" character to the eye in editors (Notepad, Notepad++, Wordpress etc.) but actually hides itself in 2-byte code (
\xc2\xa0) if you view though a hex editor.
Problem: css word-wrap causes sentence not to wrap as they should as it knows it's a "non-breaking space".
User experience: When someone does copy+paste from another source (website, word document etc.) sometimes the original space is a
and the user doesn't see or know this as they're not that tech focused as we are.
Anyone has an idea or proposal for solution here?