views:

33

answers:

4

I'm gettign this strange character instead of an apostrophe on a page that's powered by Wordpress, but only in Internet Explorer. Other browsers (chrome, firefox) display as the actual apostrophe.

’

Can somebody tell me what the problem is?

Here's the instance in question: http://cure.org/about/management-team/

You'll see under Dale Brantner, 4th staff member from the top, there in the first paragraph of his bio the word organization's and that is the instance which in IE I'm getting the above symbol instead of an apostrophe.

I have tried both with the apostrophy character, and with the HTML character entity ' but both seem to yield this strange character string. Interestingly, I have noticed it on other wordpress powered blogs from time to time.

Also of note, this page is generated by a custom use of the links function in wordpress.

A: 

Try replacing the apostrophe with ' if it's still shows up weird it probably a corrupt font.

Mikey1980
If you read the whole question you'll see I have tried that. Thank you anyway.
JAG2007
are you using utf-8? <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Mikey1980
A: 

This looks like an encoding error. Check that the character encoding settings are the same in both browsers.

Robusto
A: 

There's a known issue, you should use &#39; instead of &apos;

http://www.digimantra.com/tips/how-to-display-apos-in-internet-explorer-ie/

mamoo
I have tried both. It appears that wordpress is automatically converting my HTML character entities to the apostrophe in the database because after I hit submit from the dashboard and go back into the record, the HTML code is gone and an apostrophe is there.
JAG2007
Actually - upon second glance - although the dashboard is showing it to me with the apostrophe, IE is not displaying correctly, so apparently it's got the correct code in the database.
JAG2007
wow I must be old... W3C doesn't even have ' anymore: http://www.w3.org/TR/1998/REC-html40-19980424/sgml/entities.html I'm scared now.. what does htmlspecialchars() return?
Mikey1980
+1  A: 

What you are quoting (’) almost always is due to an encoding problem, but I get &apos; in both IE 7 and 8.

Pekka