[Haskell-cafe] How to use Unicode strings?

Dmitri O.Kondratiev dokondr at gmail.com
Sat Nov 22 06:40:41 EST 2008

Please advise how to write Unicode string, so this example would work:

main = do
  putStrLn "Les signes orthographiques inclus les accents (aigus, grâve,
circonflexe), le tréma, l'apostrophe, la cédille, le trait d'union et la

I get the following error:
    lexical error in string/character literal (UTF-8 decoding error)
Failed, modules loaded: none.

Also, how to read Unicode characters from standard input?


Dmitri O. Kondratiev
dokondr at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081122/f736e390/attachment.htm

More information about the Haskell-Cafe mailing list