[Haskell-beginners] Re: Unicode in GHCi

Brent Yorgey byorgey at seas.upenn.edu
Wed Nov 12 23:06:23 EST 2008

On Thu, Nov 13, 2008 at 12:20:32PM +0900, Benjamin L.Russell wrote:
> On Wed, 12 Nov 2008 13:35:12 +0200, "Christos Chryssochoidis"
> <c.chryssochoidis at gmail.com> wrote:
> >Thank you for your response!
> >Indeed utf8-string works fine for printing and reading utf8 strings!
> >I would also like to use multibyte characters in GHCi, but as the guys
> >at #Haskell told me yesterday, GHCi 6.10.1 switched from using
> >readline for line edting to the editline lib, and the latter can't
> >handle unicode characters, at least for now. But in GHCi 6.8 and the
> >older versions there shouldn't be any problem with unicode characters
> >in GHCi.
> Incidentally, does anyone know the reason that GHCi 6.10.1 switched
> from using readline to editline?

I think it's because readline uses a GPL license, which technically
means that it can't be bundled with GHC since GHC isn't GPL.  Why this
was suddenly deemed important I'm not sure.


More information about the Beginners mailing list