text-icu: Bindings to the ICU library

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

Haskell bindings to the International Components for Unicode (ICU) libraries. These libraries provide robust and full-featured Unicode services on a wide variety of platforms.

Features include:

  • Both pure and impure bindings, to allow for fine control over efficiency and ease of use.

  • Breaking of strings on character, word, sentence, and line boundaries.

  • Access to the Unicode Character Database (UCD) of character metadata.

  • String collation functions, for locales where the conventions for lexicographic ordering differ from the simple numeric ordering of character codes.

  • Character set conversion functions, allowing conversion between Unicode and over 220 character encodings.

  • Unicode normalization. (When implementations keep strings in a normalized form, they can be assured that equivalent strings have a unique binary representation.)

  • Regular expression search and replace.

  • Security checks for visually confusable (spoofable) strings.

  • Bidirectional Unicode algorithm

  • Calendar objects holding dates and times.

  • Number and calendar formatting.

[Skip to Readme]


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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1,,,,,,,,,,,,,,,,,,,,, 0.8.0,,,,, (info)
Change log changelog.md
Dependencies base (>=4.14 && <5), bytestring, deepseq (>=, text (>= && <1.3 || >=2.0 && <2.1), time (>=1.5 && <1.13) [details]
License BSD-3-Clause
Copyright 2009-2015 Bryan O'Sullivan
Maintainer Vladimir Shabanov <dev@vshabanov.com>
Revised Revision 1 made by AndreasAbel at 2022-02-04T14:44:07Z
Category Data, Text
Home page https://github.com/haskell/text-icu
Bug tracker https://github.com/haskell/text-icu/issues
Source repo head: git clone https://github.com/haskell/text-icu
Uploaded by VladimirShabanov at 2022-02-02T14:09:08Z
Distributions Arch:, Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 41 direct, 2128 indirect [details]
Downloads 45219 total (211 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2022-02-02 [all 2 reports]

Readme for text-icu-0.8.0

[back to package description]

Text-ICU: Comprehensive support for string manipulation

This package provides the Data.Text.ICU library, for performing complex manipulation of Unicode text. It provides features such as the following:

  • Unicode normalization

  • Conversion to and from many common and obscure encodings

  • Date and number formatting

  • Comparison and collation


This library is implemented as bindings to the well-respected ICU library (which is not bundled, and must be installed separately).

For Ubuntu apt-get install libicu-dev should suffice.


Upstream ICU occasionally introduces backwards-incompatible API breaks. This package tries to stay up to date with upstream, and is currently more or less in sync with ICU 69.

Get involved!

Please report bugs via the github issue tracker.


This library was written by Bryan O'Sullivan.