Options object used by new TextDecoder()
.
See also:
Fields
When true
, the TextDecoder
will include the byte order mark in the decoded result.
When false
, the byte order mark will be removed from the output.
This option is only used when encoding
is 'utf-8'
, 'utf-16be'
or 'utf-16le'
.
Default: false
.
true
if decoding failures are fatal.
This option is only supported when ICU is enabled (see Internationalization).
Default: false
.