[Haskell-cafe] accents

Dupont Corentin corentin.dupont at gmail.com
Wed Mar 24 06:01:32 EDT 2010


Hello,
i have a list of french words with accents.
How could i handle them?
If i load them with ghci i get:

> a <- readFile "list.txt"
> head $ lines a
"abn\233gation"

putStrLn displays a strange character for the "é".

Cheers,
Corentin


More information about the Haskell-Cafe mailing list