Handle Unicode text, emoji, encoding, normalization, code points, and safe storage.
Lessons
Declare UTF-8 at the top of every HTML page.
The HTML meta charset Tag is easiest to learn by reading the example, changing it, and observing the result.
<!doctype html>
<html lang="en">
<head>
<!-- Must be in the first 1024 bytes of the document -->
<meta charset="UTF-8">
<title>Multilingual page</title>
</head>
<body>
<p>English · नमस्ते · 日本語 · العربية · 😀</p>
</body>
</html>Practice the The HTML meta charset Tag example in a small scratch file, then explain what changed and why.