1

For my title, keywords and description fields on a page with an XHTML 1.0 Doctype what is the correct usage for non-ascii characters like – é etcetera? Do crawlers and social media sites read them better as:

<title>My webpage — a study in typesetting</title>
<meta name="description" content="A page about character entities in XHTML.  Check my resumé if you don't believe me." />

OR:

<title>My webpage &mdash; a study in typesetting</title>
<meta name="description" content="A page about character entities in XHTML.  Check my resum&#0233; if you don&apos;t believe me." />
novwhisky
  • 446
  • 3
  • 14

2 Answers2

1

You're best to stick to the native characters, but speficy the encoding type. for international charactersets, it's safe to stick with UTF-8:

Diodeus - James MacFarlane
  • 112,730
  • 33
  • 157
  • 176
0

If you declared your character set correctly in the HTTP header (and not only the HTML head), then it should make absolutely no difference.

RoToRa
  • 37,635
  • 12
  • 69
  • 105