Convert an encoding label to its name, as an ASCII-lowercased string.
If an encoding with that label does not exist, returns null.
null
This is the same as decoder.encoding getter, except that it:
decoder.encoding
replacement
It is identical to:
labelToName(label)?.toLowerCase() ?? null Copy
labelToName(label)?.toLowerCase() ?? null
All encoding names are also valid labels for corresponding encodings.
The encoding label to normalize
The normalized encoding name, or null if invalid
Convert an encoding label to its name, as an ASCII-lowercased string.
If an encoding with that label does not exist, returns
null.This is the same as
decoder.encodinggetter, except that it:replacementencoding and its labelsnullIt is identical to:
All encoding names are also valid labels for corresponding encodings.