MODULE REFERENCE
Text.Utf8
Decode, encode, and inspect UTF-8 text.
SYNOPSIS
Types and classes
data Utf8ErrorAn invalid byte sequence and the offset at which decoding failed.
Functions and values
decode :: Bytes -> Result Utf8Error StringDecode UTF-8 bytes. Invalid sequences produce a structured error.
encode :: String -> BytesEncode a string as UTF-8 bytes.
lines :: String -> List StringSplit text at line boundaries.
