HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

ModuleCabal-syntax-3.16.0.0Haskell2010

Distribution.Utils.String

  • 3 values

Encode to/from UTF8

3 declarations
valueencodeStringUtf8 :: String -> [Word8]
#

Encode String to a list of UTF8-encoded octets

Code-points in the U+D800-U+DFFF range will be encoded as the replacement character (i.e. U+FFFD).

See also decodeUtf8