TextDecoderStream: ignoreBOM-Eigenschaft
Hinweis: Diese Funktion ist in Web Workers verfügbar.
Die schreibgeschützte Eigenschaft ignoreBOM
der TextDecoderStream
-Schnittstelle ist ein Boolean
, der angibt, ob das Byte-Order-Mark in der Ausgabe enthalten sein wird oder übersprungen wird.
Wert
true
, wenn das Byte-Order-Mark in den decodierten Text aufgenommen wird; false
, wenn es beim Decodieren übersprungen und weggelassen wird.
Beispiele
js
stream = new TextDecoderStream();
console.log(stream.ignoreBOM); // returns false
Spezifikationen
Specification |
---|
Encoding # textdecoder-ignore-bom-flag |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ignoreBOM |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.