bytestring-encoding: ByteString ↔ Text converter based on GHC.IO.Encoding

[ bsd3, data, library, text ] [ Propose Tags ]

Please see the README on GitHub at

[Skip to Readme]
Versions [RSS] [faq],
Change log
Dependencies base (>=4.7 && <5), bytestring, text (<1.3) [details]
License BSD-3-Clause
Copyright 2018 Masahiro Sakai
Author Masahiro Sakai
Revised Revision 1 made by Bodigrim at 2022-01-22T20:20:24Z
Category Data, Text
Home page
Bug tracker
Source repo head: git clone
Uploaded by MasahiroSakai at 2021-05-08T01:13:58Z
Distributions Arch:, NixOS:
Downloads 4197 total (265 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-05-08 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for bytestring-encoding-

[back to package description]

bytestring-encoding: ByteString ↔ Text converter based on GHC.IO.Encoding

Build Status (Travis CI) Build status (AppVeyor) Build Status (GitHub Actions) Coverage Status Hackage Hackage Deps License: BSD-3-Clause

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 for details.