Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
TextDecoder.encoding は読み取り専用のプロパティで、特定のデコーダオブジェクトが使用するデコードアルゴリズムの名前が入った文字列を返します。
エンコーダーは コンストラクター の label 引数で設定し、既定値は utf-8 となります。
小文字の ASCII 文字列で、以下のいずれかの値を取ります。
| Encoding # ref-for-dom-textdecoder-encoding① |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年5月10日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.