Since the latin-1 (aka ISO-8859-1) character set is embedded in the Unicode character set as its lowest 256 code-points, I'd expect the conversion to be trivial, but I didn't see any latin-1 encoding conversion functions in Data.Text.Encoding
which contains only conversion functions for the common UTF encodings.
What's the recommended and/or efficient way to convert between Data.ByteString
values encoded in latin-1 representation and Data.Text
values?