Unicode, Emoji, and Charset
Best Default
<meta charset="UTF-8" />
UTF-8 should be the default for modern HTML documents.
Guidance
- Use literal Unicode when the file and pipeline support it.
- Use entities when the character would conflict with markup syntax.
- Keep encoding consistent across templates and build output.
What's Next
- Continue to 11. HTML APIs and Browser Features