HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulewith-utf8-1.1.0.0Haskell2010

Data.Text.Lazy.IO.Utf8

Data.Text.Lazy.IO for the modern world.

Wrappers around simple file reading/writing functions from the text package that reset the handle encoding to UTF-8.

  • 2 values
valuereadFile :: MonadIO m => FilePath -> m Text
#

Like readFile, but assumes the file is encoded in UTF-8, regardless of the current locale.