[Haskell-cafe] How to use Unicode strings?
Luke Palmer
lrpalmer at gmail.com
Sat Nov 22 06:52:56 EST 2008
2008/11/22 Dmitri O.Kondratiev <dokondr at gmail.com>:
> 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
> majuscule."
That really ought to work. Is the file encoded in UTF-8 (rather than,
eg. latin-1)?
Luke
More information about the Haskell-Cafe
mailing list