[Haskell-cafe] Re: UTF and Parsec

Max Vasin max.vasin at gmail.com
Fri Oct 27 11:13:02 EDT 2006


>>>>> "John" == John Ky <newhoggy at gmail.com> writes:

John> Hi,I'm interested in using Parsec to parse utf-8 files and
John> do some processing and output a utf-8 document.  Is there
John> anything I should be aware of?  Does GHC handle all the
John> utf-8 stuff automatically?  What does it mean when I find
John> that parsec is picking up "" at the beginning of the

All strings in Haskell are unicode - you only have to input them correctly
:-) I've used Streams (somewhere at haskell.org) library to read files in
UTF-8 and then parsed read data with Parsec.

-- 
WBR,
Max Vasin.




More information about the Haskell-Cafe mailing list