TextDecoderStream.ignoreBOM

TextDecoderStream 接口的只读属性 ignoreBOM 返回一个 boolean,表示是否忽略字节顺序标记(BOM)。

一个 boolean,初始值是 false

示例

js
stream = new TextDecoderStream();
console.log(stream.ignoreBOM); // returns 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