A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/fatal below:

TextDecoder: fatal property - Web APIs

TextDecoder: fatal property

Baseline Widely available

Note: This feature is available in Web Workers.

The fatal read-only property of the TextDecoder interface is a Boolean indicating whether the error mode is fatal.

If the property is true, then a decoder will throw a TypeError if it encounters malformed data while decoding. If false, the decoder will substitute the invalid data with the replacement character U+FFFD (�). The value of the property is set in the fatal argument to the decoder's constructor.

Value

A boolean which will be true if the error mode is set to fatal. Otherwise, it will be false, indicating that the error mode is replacement.

Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4