TextDecoderStream: ignoreBOM プロパティ

ignoreBOMTextDecoderStream インターフェイスの読み取り専用プロパティで、バイトオーダーマーク (BOM) が無視されるかどうかを示す論理値を返します。

論理値で、初期値は false です。

js
stream = new TextDecoderStream();
console.log(stream.ignoreBOM); // false を返す

仕様書

Specification
Encoding
# textdecoder-ignore-bom-flag

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
ignoreBOM

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support