Decode iso-8859-1 bytes to a string.
iso-8859-1
There is no loose variant for this encoding, all bytes can be decoded.
Same as:
const latin1toString = createSinglebyteDecoder('iso-8859-1') Copy
const latin1toString = createSinglebyteDecoder('iso-8859-1')
Note: this is different from new TextDecoder('iso-8859-1') and new TextDecoder('latin1'), as those alias to new TextDecoder('windows-1252').
new TextDecoder('iso-8859-1')
new TextDecoder('latin1')
new TextDecoder('windows-1252')
The bytes to decode
The decoded string
Decode
iso-8859-1bytes to a string.There is no loose variant for this encoding, all bytes can be decoded.
Same as:
Note: this is different from
new TextDecoder('iso-8859-1')andnew TextDecoder('latin1'), as those alias tonew TextDecoder('windows-1252').