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

"John" == John Ky
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.
participants (2)
-
John Ky
-
Max Vasin