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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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.