HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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.