Re: GHC and UNICODE...

2003-12-22 Thread Ross Paterson
On Fri, Dec 19, 2003 at 12:17:42PM -0800, John Meacham wrote: > 1. written the CWString library (now a part of the FFI) which lets you > call arbitrary C functions doing all the proper character set conversion > stuff. Do you plan to update this and merge it with the hierarchical libraries to comp

RE: GHC and UNICODE...

2003-12-22 Thread Simon Marlow
> something I have wanted to do is modify Alex so that รข turns into the > regular expression 0xe2 0x88 0x80 (and so forth) so that ghc (whose > lexer is generated from alex) can simply accept utf8 input. I also really want to get GHC accepting UTF-8 source files, but I don't think this is the

Re: GHC and UNICODE...

2003-12-19 Thread John Meacham
On Fri, Dec 19, 2003 at 04:51:50PM +, MR K P SCHUPKE wrote: > Whilst I appreciate the topic of show is not directly related to GHC, > what I would like to know is how to handle UNICODE properly... If I assume > I have a good unicode terminal, so stdin and stdout are in unicode format, > and all