WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are special characters that can cause problems in word press, like the infamous microsoft word smart quotes. However, there are many that are captured and dealt with. My collegue and I have written a plugin that, even if it just passes the content through, stops wordpress from handling many of these characters properly. It shows particularly on foreign language web sites like a German one where special characters are handled just fine until my plugin is activated. Why is this so?

share|improve this question
Really no way to tell without, you know, seeing what your plugin actually does... Likely you break some filters or something. :) – Rarst Nov 18 '10 at 14:48
Yeah, you should link your plugin so it actually can be analyized. Otherwise you're asking in the Chrystal Bowl. – hakre Nov 18 '10 at 18:12

Let's give this a guess out of the blue: Check the encoding of your plugin file. It should be ASCII, also named US-ASCII or ascii-7bit. This ensures that your plugin is most compatible to wordpress installations out there.

This information is probably useful for you to find out about the actual encoding of your plugins files (you need to encode all as ascii 7 bit if you have more then one): How Can I Determine the Encoding of a File?.

To change the file encoding, this depends on the editor you are using. As I don't know which one, I can not offer any more information about this then, that editors tend to have an option to specify the file encoding in the save-as dialog -or- somewhere in the menus while you have opened the file in question.

If you have characters in your file the get broken when you save your file in another encoding (make a backup first!), you might probably want to encode them as UTF-8. That done, the file is still compatible with most (but not all) sites. And this might prevent you from loosing characters in your file(s).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.