TextEncoder: encoding プロパティ
TextEncoder.encoding は読み取り専用プロパティで、特定のエンコーダーで使用されるエンコーディングアルゴリズムの名前が入った文字列を返します。
持つことができる値は utf-8 のみです。
値
文字列です。
仕様書
| Specification |
|---|
| Encoding Standard # dom-textencoder-encoding |
ブラウザーの互換性
BCD tables only load in the browser
関連情報
- 所属先の
TextEncoderインターフェイス