aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/glossary/character_encoding/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/glossary/character_encoding/index.html')
-rw-r--r--files/zh-tw/glossary/character_encoding/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/files/zh-tw/glossary/character_encoding/index.html b/files/zh-tw/glossary/character_encoding/index.html
new file mode 100644
index 0000000000..ed37fb7be6
--- /dev/null
+++ b/files/zh-tw/glossary/character_encoding/index.html
@@ -0,0 +1,25 @@
+---
+title: 字元編碼
+slug: Glossary/character_encoding
+tags:
+ - 字彙表
+translation_of: Glossary/character_encoding
+---
+<p>字元編碼提供了一套編碼系統,使不同的電腦系統或編譯環境可以存在並處理存在於其他語言當中的特殊字元。</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")}} (維基百科)</li>
+</ul>