[Haskell-beginners] Encoding strings

Daniel Fischer daniel.is.fischer at web.de
Thu Apr 8 15:57:26 EDT 2010


Am Donnerstag 08 April 2010 21:26:56 schrieb legajid:
> Hi,
> i've  found another solution : instead of putStr (show text), i just
> write putStr text.

Ah, yes, the Show instance escapes all characters beyond '\DEL', so (show 
text) doesn't contain any accented letters.

>
> As a remaining problem, i don't how to install cabal in order to install
> the desired module.

For Windows, there should be a cabal binary somewhere (try 
http://www.haskell.org/cabal/download.html
).
There is supposed to be one included in the Haskell Platform, so installing 
that might be a good move.

>
> Thanks,
> Didier.


More information about the Beginners mailing list