On Mon, Apr 26, 2004 at 08:33:38PM +0200, Sven Panne wrote:
> Duncan Coutts wrote:
> >On Mon, 2004-04-26 at 18:49, David Brown wrote: [...]
> >toUTF :: String -> String
> 
> Hmmm, "String -> [Word8]" would be nicer...
> 
> >fromUTF :: String -> String
> 
> ... and here: "[Word8] -> String" or "[Word8] -> Maybe String".

Except that I would then have to come up with my own IO routines to read
and write UTF data.  With both sides as string, it is easy to just
filter input and output of files.

Dave
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to