Reputation: 3938
I have some html content with apostrophe inside a div, It renders correctly in all other browsers other than IE. You will get a clear idea from the screen-shot
On other browsers
On IE
I have searched enough and found issues like apostrophe shown as '
. I think this is not similar to that issue.
Can anyone help?
Upvotes: 2
Views: 3663
Reputation: 187034
Your page needs utf-8
headers. Your server should be serving pages with:
Content-Type: text/html;charset=utf-8
Or you can place it with a meta tag
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
Or just serve your content with html entities instead
He's not feeling well.
Upvotes: 1
Reputation: 12973
In your case, IE has not been told to use UTF-8 encoding. I believe it's in the menu View
>Encoding
but there should also be a <meta>
tag specifying it in the page.
Upvotes: 1