UTF-8 decoding error

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Sep 20 16:42:14 EDT 2006


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



More information about the Glasgow-haskell-users mailing list