Facebook Share button encoding problem -


I am trying to create a Facebook share button on my site. Everything goes well except the non-Assiotic symbols obtained from the meta tag. For example:

I am sharing the page with the URL. The page has the following meta tags inside its meta tag:

   ... & lt; Meta name = "title" content = "John Smith won £ 10000!" / & Gt; & Lt; Meta name = "description" content = "What next John Smith want to be?" / & Gt; & Lt; Link rel = "image_src" href = "http://example.com/img/logo.jpg" /> ... & lt; / Head & gt;  

The problem is that a pound (£) symbol is shown as a symbol in the Facebook share pop-in, which is not a desired behavior.

I would be grateful for any ideas.

I recommend changing the pound-science with equal unit, i.e. & amp; # 163; = £ You may also need to include a charset definition, e.g. & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" & gt; In fact, you can be away from the meta tag - just put it before others.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -