Documentation for a few encodings
darcs-hash:20070802095455-a4fee-8761245eb32db2cc33a80d981eaebab10c2af6a3
This commit is contained in:
parent
496761301f
commit
96738efeeb
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user