 <p>The first option, <code>&lt;meta charset='utf-8'&gt;</code>, is preferred, primarily because it's shortest.</p> <p>Note that the charset declaration should be the first child of the <code>&lt;head&gt;</code>, before any user-controlled content. (in particular, before the <code>&lt;title&gt;</code>)</p>