:: String -> ByteString package:Cabal-syntax

Encode String to UTF8-encoded ByteString Code-points in the U+D800-U+DFFF range will be encoded as the replacement character (i.e. U+FFFD).
Variant of toUTF8BS for lazy ByteStrings