[Haskell-cafe] Has character changed in GHC 6.8?

Henning Thielemann lemming at henning-thielemann.de
Tue Jan 22 07:48:11 EST 2008

On Tue, 22 Jan 2008, Duncan Coutts wrote:

> > At the time I thought that the encoding (in my case UTF-8) was “leaking
> > through”.  After switching to GHC 6.8 the behaviour seems to have
> > changed, and mapping 'ord' on a string results in a list of ints
> > representing the Unicode code point rather than the encoding:
> Yes. GHC 6.8 treats .hs files as UTF-8 where it previously treated them
> as Latin-1.

Can this be controlled by an option?

More information about the Haskell-Cafe mailing list