[commit: base] encoding: Implement coding failure modes: ignore, throw error, transliterate (239d24c)

Max Bolingbroke batterseapower at hotmail.com
Mon Apr 4 12:30:43 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : encoding

http://hackage.haskell.org/trac/ghc/changeset/239d24cd0401c659f4aac65fe47156b890e44571

>---------------------------------------------------------------

commit 239d24cd0401c659f4aac65fe47156b890e44571
Author: Max Bolingbroke <batterseapower at hotmail.com>
Date:   Mon Apr 4 09:18:11 2011 +0100

    Implement coding failure modes: ignore, throw error, transliterate

 GHC/IO/Encoding.hs          |   43 ++++++++----
 GHC/IO/Encoding/CodePage.hs |   80 ++++++++++++++--------
 GHC/IO/Encoding/Iconv.hs    |  153 +++++++++++++++++++++++++------------------
 GHC/IO/Encoding/Latin1.hs   |   46 +++++++++----
 GHC/IO/Encoding/Types.hs    |   27 ++++++++
 GHC/IO/Encoding/UTF16.hs    |  104 ++++++++++++++++++++---------
 GHC/IO/Encoding/UTF32.hs    |  104 ++++++++++++++++++++---------
 GHC/IO/Encoding/UTF8.hs     |   75 +++++++++++++---------
 8 files changed, 414 insertions(+), 218 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 239d24cd0401c659f4aac65fe47156b890e44571



More information about the Libraries mailing list