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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4c889c7daa98daff7aec5c0e4ccf491f25f5d10c

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

commit 4c889c7daa98daff7aec5c0e4ccf491f25f5d10c
Author: Max Bolingbroke <[email protected]>
Date:   Wed May 18 09:41:49 2011 +0100

    Use Unicode private-use characters for roundtripping
    
    This replaces the previous scheme (which used lone surrogates). The reason 
is that
    there is Haskell software in the wild (i.e. the text package) that chokes 
on Char values
    that do not represent Unicode characters.
    
    This new approach will not work correctly if the reserved private-use 
characters are
    actually encountered in the input, but we expect this to be rare.

 GHC/Foreign.hs             |    9 +++--
 GHC/IO/Encoding.hs         |    6 ++--
 GHC/IO/Encoding/Failure.hs |   70 +++++++++++++++++++++++++++++++++++--------
 GHC/IO/Encoding/Types.hs   |   11 +++++++
 GHC/IO/Handle/Text.hs      |    9 +++--
 5 files changed, 81 insertions(+), 24 deletions(-)


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

    git show 4c889c7daa98daff7aec5c0e4ccf491f25f5d10c

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to