coulix
coulix

Reputation: 3368

Facebook share description encoding weirdness

On this link, the meta description from http://www.dontforgetanniversary.com has encoding problems with accents.

I still have tho.

I wonder where it could come from.

Upvotes: 1

Views: 828

Answers (1)

Peter Bailey
Peter Bailey

Reputation: 105908

I tested your domain with the URL Linter and definitely see some issues with character encoding.

Searching the bug database I found this one that indicates a BOM might be the problem.

So I loaded up your page in Charles and looked at the bytes of the response. Sure enough, the first three bytes of the response are EF BB BF, the UTF-8 encoding of the BOM.

Remove the BOM from your files and you're good to go.

Upvotes: 4

Related Questions