[Haskell-cafe] Encoding of Haskell source files

Max Rabkin max.rabkin at gmail.com
Mon Apr 4 15:41:04 CEST 2011


2011/4/4 Ketil Malde <ketil at malde.org>:
> I think the safest thing to do is to require source to be ASCII, and
> provide escapes for code points >127...

I used to think that until I realised it meant having

-- Author: Ma\xef N\xe5me

In code, single characters aren't bad (does Haskell have something
like Python's named escapes ("\N{small letter a with ring}"?) but
reading UI strings is less fun.

Also, unicode symbols for -> and the like are becoming more popular.

--Max



More information about the Haskell-Cafe mailing list