Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 773 Bytes

File metadata and controls

23 lines (16 loc) · 773 Bytes
title slug l10n
字符编码
Glossary/Character_encoding
sourceCommit
ada5fa5ef15eadd44b549ecf906423b4a2092f34

{{GlossarySidebar}}

字符编码定义字节与文本间的映射。一连串字节文本能让不同文本解释得以进行。我们指明一套特定编码时(如 UTF-8),也就指明了字节得以解释的方式。

例如,我们通常在 HTML 里声明 UTF-8 字符编码,使用如下:

<meta charset="utf-8" />

这就确保你在 HTML 文档中可以使用几乎任何一种人类语言中的字符,并且会稳定显示。

参见