Description
ByteString ↔ Text converter based on GHC.IO.Encoding.
Description
Please see the README on GitHub at https://github.com/msakai/bytestring-encoding#readme
README.md
bytestring-encoding: ByteString ↔ Text converter based on GHC.IO.Encoding
These 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
.
Limitations and Known issues
- 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.