|
| Data.Text.Encoding | | Portability | portable | | Stability | experimental | | Maintainer | bos@serpentine.com, rtharper@aftereternity.co.uk,
duncan@haskell.org |
|
|
|
|
|
| Description |
Functions for converting Text values to and from ByteString,
using several standard encodings.
To make use of a much larger variety of encodings, use the text-icu
package.
|
|
| Synopsis |
|
|
|
|
| Decoding ByteStrings to Text
|
|
|
| Decode a ByteString containing 7-bit ASCII encoded text.
|
|
|
| Decode a ByteString containing UTF-8 encoded text.
|
|
|
| Decode text from little endian UTF-16 encoding.
|
|
|
| Decode text from big endian UTF-16 encoding.
|
|
|
| Decode text from little endian UTF-32 encoding.
|
|
|
| Decode text from big endian UTF-32 encoding.
|
|
| Controllable error handling
|
|
|
| Decode a ByteString containing UTF-8 encoded text.
|
|
|
| Decode text from little endian UTF-16 encoding.
|
|
|
| Decode text from big endian UTF-16 encoding.
|
|
|
| Decode text from little endian UTF-32 encoding.
|
|
|
| Decode text from big endian UTF-32 encoding.
|
|
| Encoding Text to ByteStrings
|
|
|
| Encode text using UTF-8 encoding.
|
|
|
| Encode text using little endian UTF-16 encoding.
|
|
|
| Encode text using big endian UTF-16 encoding.
|
|
|
| Encode text using little endian UTF-32 encoding.
|
|
|
| Encode text using big endian UTF-32 encoding.
|
|
| Produced by Haddock version 2.6.0 |