The Text type represents Unicode character strings, in a time and
space-efficient manner. This package provides text processing
capabilities that are optimized for performance critical use, both
in terms of large data quantities and high speed.

The Text type provides character-encoding, type-safe case
conversion via whole-string case conversion functions. It also
provides a range of functions for converting Text values to and from
ByteStrings, using several standard encodings.

Efficient locale-sensitive support for text IO is also supported.

These modules are intended to be imported qualified, to avoid name
clashes with Prelude functions, e.g.

import qualified Data.Text as T

To use an extended and very rich family of functions for working
with Unicode text (including normalization, regular expressions,
non-standard encodings, text breaking, and locales), see
the text-icu package:
http://hackage.haskell.org/package/text-icu

Maintainer's Corner

Readme for text-0.11.1.6

Text: Fast, packed Unicode strings, using stream fusion

This package provides the Data.Text library, a library for the space-
and time-efficient manipulation of Unicode text in Haskell.

Normalization, conversion, and collation, oh my!

This library intentionally provides a simple API based on the
Haskell prelude's list manipulation functions. For more complicated
real-world tasks, such as Unicode normalization, conversion to and
from a larger variety of encodings, and collation, use the text-icu
package.

That library uses the well-respected and liberally licensed ICU
library to provide these facilities.