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

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

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.