Documentation for a few encodings

darcs-hash:20070802095455-a4fee-8761245eb32db2cc33a80d981eaebab10c2af6a3
This commit is contained in:
Henning Guenther 2007-08-02 02:54:55 -07:00
parent 496761301f
commit 96738efeeb
4 changed files with 11 additions and 0 deletions

View File

@ -49,6 +49,7 @@ instance Encoding DynEncoding where
decodeLazy (DynEncoding enc) = decodeLazy enc
decodable (DynEncoding enc) = decodable enc
-- | Takes the name of an encoding and creates a dynamic encoding from it.
encodingFromString :: String -> DynEncoding
encodingFromString "ASCII" = DynEncoding ASCII
encodingFromString "UTF-8" = DynEncoding UTF8

View File

@ -1,3 +1,7 @@
-- | ASCII (American Standard Code for Information Interchange) is the
-- \"normal\" computer encoding using the byte values 0-127 to represent
-- characters. Refer to <http://en.wikipedia.org/wiki/ASCII> for
-- more informations.
module Data.Encoding.ASCII
(ASCII(..)) where

View File

@ -1,3 +1,6 @@
{- | Implements ISO\/IEC 8859-1 alias latin-1 encoding. See
<http://en.wikipedia.org/wiki/ISO/IEC_8859-1> for further informations.
-}
module Data.Encoding.ISO88591
(ISO88591(..)
) where

View File

@ -1,3 +1,6 @@
{- | Implements ISO\/IEC 8859-2 alias latin-2 encoding. See
<http://en.wikipedia.org/wiki/ISO/IEC_8859-2> for further informations.
-}
module Data.Encoding.ISO88592
(ISO88592(..)) where