aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/character_encoding
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/glossary/character_encoding')
-rw-r--r--files/zh-cn/glossary/character_encoding/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/character_encoding/index.html b/files/zh-cn/glossary/character_encoding/index.html
new file mode 100644
index 0000000000..40dbc7ca8a
--- /dev/null
+++ b/files/zh-cn/glossary/character_encoding/index.html
@@ -0,0 +1,26 @@
+---
+title: Character encoding(字符编码)
+slug: Glossary/字符编码
+tags:
+ - 术语
+ - 术语表
+translation_of: Glossary/character_encoding
+---
+<p>一套编码系统定义字节与文本间的映射。一连串字节文本能让不同文本解释得以进行。我们指明一套特定编码系统时(如 UTF-8),也就指明了字节得以解释的方式。</p>
+
+<p>例如,我们通常在 HTML 里声明 UTF-8 字符编码,使用如下:</p>
+
+<div class="example">
+<pre class="brush: html"><code>&lt;meta charset="utf-8"&gt;</code></pre>
+
+<p>这就确保你在 HTML 文档中可以使用几乎任何一种人类语言中的字符,并且会稳定显示。</p>
+</div>
+
+<h2 id="了解更多"> 了解更多</h2>
+
+<h3 id="常识">常识</h3>
+
+<ul>
+ <li><a href="https://www.w3.org/International/articles/definitions-characters/">Character encoding on W3C</a></li>
+ <li>{{Interwiki("wikipedia", "Character encoding")}} on Wikipedia</li>
+</ul>