|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class Encoding enc where | Source |
|
| Represents an encoding, supporting various methods of de- and encoding.
Minimal complete definition: encode, decode
| | | Methods | | | Instances | |
|
|
|
| This exception type is thrown whenever something went wrong during the
encoding-process.
| | Constructors | | HasNoRepresentation Char | Thrown if a specific character
is not representable in an encoding.
|
| Instances | |
|
|
|
| This exception type is thrown whenever something went wrong during the
decoding-process.
| | Constructors | | IllegalCharacter Word8 | The sequence contained an illegal
byte that couldn't be decoded.
| | UnexpectedEnd | more bytes were needed to allow a
successfull decoding.
| | OutOfRange | the decoded value was out of the unicode range
| | IllegalRepresentation [Word8] | The character sequence encodes a
character, but is illegal.
|
| Instances | |
|
|
|
| This decodes a string from one encoding and encodes it into another.
|
|
|
|
|
| An untyped encoding. Used in System.IO.Encoding.getSystemEncoding.
| Instances | |
|
|
|
| Takes the name of an encoding and creates a dynamic encoding from it.
|
|
|
| Like encodingFromString but returns Nothing instead of throwing an error
|
|
| Produced by Haddock version 2.1.0 |