aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/conflicting/web/api/document/characterset/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/conflicting/web/api/document/characterset/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/conflicting/web/api/document/characterset/index.html')
-rw-r--r--files/zh-cn/conflicting/web/api/document/characterset/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/files/zh-cn/conflicting/web/api/document/characterset/index.html b/files/zh-cn/conflicting/web/api/document/characterset/index.html
new file mode 100644
index 0000000000..00701e8acf
--- /dev/null
+++ b/files/zh-cn/conflicting/web/api/document/characterset/index.html
@@ -0,0 +1,21 @@
+---
+title: document.inputEncoding
+slug: Web/API/Document/inputEncoding
+translation_of: Web/API/Document/characterSet
+translation_of_original: Web/API/Document/inputEncoding
+---
+<p>{{ ApiRef() }} {{ deprecated_header() }}</p>
+<h3 id="概述">概述</h3>
+<p>返回一个字符串,代表当前文档渲染时所使用的编码.(比如<code>utf-8</code>).</p>
+<div class="warning">
+ <strong>警告:</strong> 不要再使用该属性.该属性在DOM 4 规范(草案)中已经被废弃. Gecko 在未来的版本中将会删除它.</div>
+<h3 id="语法">语法</h3>
+<pre class="eval"><var>encoding</var> = <code>document.inputEncoding;</code>
+</pre>
+<p><code>inputEncoding</code> 是个只读属性.</p>
+<h3 id="规范">规范</h3>
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-inputEncoding">DOM Level 3 Core</a></li>
+ <li>This has been removed from {{ spec("http://www.w3.org/TR/domcore/","DOM Core Level 4","WD") }}</li>
+</ul>
+<p>{{ languages( {"en": "en/DOM/document.inputEncoding" } ) }}</p>