Support for reading and writing UTF8 Strings


Version on this page:0.3.8@rev:2
LTS Haskell 22.29:1.0.2
Stackage Nightly 2024-07-19:1.0.2
Latest on Hackage:1.0.2

See all snapshots utf8-string appears in

BSD-3-Clause licensed by Eric Mertens
Maintained by [email protected]
This version can be pinned in stack with:utf8-string-0.3.8@sha256:0555d720026fff65342bdc500391ffd300858b6f2c6db441d4dd1eafbcb599ff,1330

Module documentation for 0.3.8

  • Codec
    • Codec.Binary
      • Codec.Binary.UTF8
        • Codec.Binary.UTF8.Generic
        • Codec.Binary.UTF8.String
  • Data
    • Data.ByteString
      • Data.ByteString.Lazy
        • Data.ByteString.Lazy.UTF8
      • Data.ByteString.UTF8
    • Data.String
      • Data.String.UTF8
  • System
    • System.Environment
      • System.Environment.UTF8
    • System.IO
      • System.IO.UTF8

A UTF8 layer for IO and Strings. The utf8-string package provides operations for encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 without truncation.



  • Performance tweaks
  • bytestring-in-base flag default to False