utf 8 - Why are my search results not in the same charset as my page encoding? -
i using utf-8 encoding html page.
<head> <meta charset="utf-8"> in debugger console, document.characterset returns "utf-8".
on page, have metadata (keywords, description, title) valid utf-8 character: '®', utf-8: 'c2ae'
the character displays correctly in view source, , on page title.
but google search results , bing search results showing 'î'. is, during web crawl, appears getting converted iso-8859-1 or western-1252 displaying both bytes: 'c2' , 'ae'.
if replace character ® => (\u00ae) shows correctly.
short of converting meta data iso-8859-1, there best practice should using this?
issue on back-end, data not being transcoded utf-8 when read cache. so, feel best practice use native utf-8 bmp character, proper page encoding, , not required use html entity values.
Comments
Post a Comment