HTML5: <meta charset="UTF-8">
The old way:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The HTML5 way, which works on all browsers:
<meta charset="UTF-8">
Even though the charset can and should already be set in the HTTP response header, the meta tag is still relevant when the document is offline.
Leave a Reply