UTF-8 decoding error

Matthew Pocock matthew.pocock at ncl.ac.uk
Wed Sep 27 06:05:14 EDT 2006


Fortress (sun's possibly-not-vaporware hpc language) supports arbitrary 
unicode chars in code, and has an escape syntax for commonly used things. 
Similarly, proof-general/isabelle supports tex-style escapes for symbols & 
greek. It seems to me that a pre-processor that turns human-friendly escapes 
(e.g. \{lambda} rather than some magic number) into unicode and a slightly 
intelligent IDE (or emacs mode?) would go most of the way to letting us use 
up-side-down ys and curly as with all the visual beauty and editor niceness 
that we have now with ascii.

Matthew

On Wednesday 20 September 2006 21:42, Duncan Coutts wrote:
> On Wed, 2006-09-20 at 18:14 +0200, Christian Maeder wrote:
> > How can I convince ghc version 6.5.20060919 to accept latin1 characters
> >  in literals?
> >
> > I wish to keep source files (containing umlauts in strings) that can be
> > compiled by either ghc-6.4.2 and ghc-6.6.
>
> You can use numeric escapes like "\222".
>
> Duncan
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list