JSK NS
JSK NS

Reputation: 3446

HTML Character Encoding replaces ’ with ’

What is happening to the following HTML snippet when opened in Chrome?:

<p class="MsoNormal" style="margin:0in 0in 0pt"><font face="Calibri" size="3">Attached is a summary of the annual financial report for Company A’s retirement Plan

plans.

When open this page in Chrome and view source I see:

<p class="MsoNormal" style="margin:0in 0in 0pt"><font face="Calibri" size="3">Attached is a summary of the annual financial report for Company A’s retirement Plan

plans.

Notice the replacement of

with

’

I know this is some character encoding issue but my google search reveal little.

Upvotes: 1

Views: 3761

Answers (1)

JSK NS
JSK NS

Reputation: 3446

Thanks in part to both @deceze and this SO question it looks like I just need this meta tag at the top of the HTML file:

<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

Upvotes: 2

Related Questions