interface TextDecoderCommon Properties readonly encoding: string Returns encoding's name, lowercased. readonly fatal: boolean Returns true if error mode is "fatal", otherwise false. readonly ignoreBOM: boolean Returns the value of ignore BOM.