mime-0.4.0.2: Working with MIME types.
Copyright(c) 2006-2009 Galois Inc.
LicenseBSD3
MaintainerSigbjorn Finne <sigbjorn.finne@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Codec.MIME.Decode

Description

 
Synopsis

Documentation

decodeBody :: String -> String -> String Source #

decodeBody enc str decodes str according to the scheme specified by enc. Currently, base64 and quoted-printable are the only two encodings supported. If you supply anything else for enc, decodeBody returns str.

decodeWord :: String -> Maybe (String, String) Source #

decodeWords :: String -> String Source #