From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/textencoder/encoding/index.html | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/ja/web/api/textencoder/encoding/index.html (limited to 'files/ja/web/api/textencoder/encoding') diff --git a/files/ja/web/api/textencoder/encoding/index.html b/files/ja/web/api/textencoder/encoding/index.html new file mode 100644 index 0000000000..a787d593be --- /dev/null +++ b/files/ja/web/api/textencoder/encoding/index.html @@ -0,0 +1,55 @@ +--- +title: TextEncoder.encoding +slug: Web/API/TextEncoder/encoding +tags: + - API + - Encoding + - Property + - Read-only + - Reference + - TextEncoder + - プロパティ +translation_of: Web/API/TextEncoder/encoding +--- +
{{APIRef("Encoding API")}}
+ +

TextEncoder.encoding は読み取り専用プロパティで、特定のエンコーダーで使用されるエンコーディングアルゴリズムの名前が入った {{DOMxRef("DOMString")}} を返します。

+ +

持つことができる値は utf-8 のみです。

+ +

構文

+ +
b = encoder.encoding;
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("Encoding", "#dom-textencoder-encoding", "TextEncoder.encoding")}}{{Spec2("Encoding")}}初回定義
+ +

ブラウザーの対応

+ +
+ + +

{{Compat("api.TextEncoder.encoding")}}

+
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf