HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleutf8-string-1.0.2Haskell2010

Codec.Binary.UTF8.String

Support for encoding UTF8 Strings to and from [Word8]

Synopsis
  • Packageutf8-string-1.0.2
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceString.hs

utf8Encode str is a convenience function; checks to see if str isn't UTF-8 encoded before doing so. Sometimes useful, but you are better off keeping track of the encoding so as to avoid the cost of checking.