The fatal
property of the TextDecoder
interface is a Boolean
indicating whether the error mode is fatal. If this value is true
, the processed text cannot be decoded because of malformed data. If this value is false
malformed data is replaced with placeholder characters.
TextDecoder.fatal
Specifications
No specification found
No specification data found for api.TextDecoder.fatal
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
fatal |
38
|
79
|
36
|
No
|
25
|
10.1
|
38
|
38
|
36
|
25
|
10.3
|
3.0
|
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/fatal