Why am I getting the special character � in my WordPress content pages?
Not sure how it got in there.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The browser renders this character when the bytes in the page don’t match any valid character of the charset/encoding of the page.
For example, “ö” (hex 0xf6 or
ö) is a valid character in ISO-8859-1 (Iso Latin 1) but not in UTF-8; for UTF-8, it must be encoded as two bytes.To find out what the character really is, look for the “encoding” or “charset” menu and switch to a different one until the character becomes readable. Now you know what it was originally. Then check the source. The usual problem is that a program reads the data in the wrong encoding and then mangles the byte stream.
This can happen when you open the text of the page in an editor and save it with the wrong charset or when the underlying database thinks you send UTF-8 when you actually send ISO-Latin-1, etc.