This library provides converter between ByteString
and Text
based
on GHC.IO.Encoding
.
Compared to the text-icu
package, it has only limited feature and is platform dependent, but is
light-weight and consistent with conversion by System.IO
.
- There are some cases that conversion can produce incomplete results due to the problem of
GHC.IO.Encoding
API. see https://gitlab.haskell.org/ghc/ghc/-/issues/15553 for details.