Here's take two at sorting out encoding for GHC 7.6.
I've given up on using GHC's built-in encoding functionality for now,
because of a couple of problems:
- badly encoded strings can cause segfaults:
http://hackage.haskell.org/trac/ghc/ticket/7522
- the set of Windows codepages known by GHC isn't very
comprehensive - e.g. the ISO-8859-15 equivalent, 28605,
is missing.
I still hope to switch over at some point in the future
once these problems are solved, but for now I've extracted
the encoding-related code from haskeline and put it
directly in darcs.
6 patches for repository darcs-unstable@darcs.net:screened:
Tue Jan 15 18:10:40 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* import encoding code from haskeline: Setup.lhs changes
Fri Jan 18 07:35:57 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* import encoding code from haskeline: cabal changes
Fri Jan 18 22:59:47 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* import encoding code from haskeline: source files
Fri Jan 18 23:01:19 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* import encoding code from haskeline: switch over
Fri Jan 18 23:02:38 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* import encoding code from haskeline: move source into Darcs.Util
Sat Jan 19 16:36:10 GMT 2013 Ganesh Sittampalam <ganesh@earth.li>
* add copyright notices for the imported haskeline code
licence/copyright taken from haskeline 0.6.4.7:
BSD3, copyright Judah Jacobson
Attachments
|