How to filter or prevent insertion of garbage characters
I’m running several WordPress installs where the content is maintained by others. I’m seeing garbage characters (circumflex capital A, in particular) come through in the RSS feeds or displayed in some posts.
This happens when folks compose the post in a Windows application and then paste it into the WYSIWYG editor.
I can look at the post content through phpMyAdmin and see that the character is there, but in most cases it does not appear in the displayed posts.
Google found a post about a
Moveable Type garbage character plugin, but I can’t find a discussion in a WordPress context.
Telling folks “don’t do that” isn’t a realistic option. Any advice on how to prevent the characters being inserted would be greatly appreciated — or an explanation of what system characteristics can minimize the problem would also help. [The characters are showing up on the blog, not just the RSS feed (actually the e-mail message generated by RSSfwd.com), on a system with WP 2.1.2, MySQL 4.1.22-log and PHP 4.4.6-pl0-gentoo. On a copy of that installation on another server with MySQL 5.0.24a-standard-log and PHP 5.2.1. things look fine — at least in Firefox 2 and IE7.]
I may have some success suggesting an upgrade to the MySQL 4/PHP 4 administrators, and if a different WYSIWYG editor would do better with inserting posts crafted from Word, that’s another possibility.
Thanks in advance for any suggestions.
- The topic ‘How to filter or prevent insertion of garbage characters’ is closed to new replies.