UTF-8 encode/decode libraries.
haskell at davidb.org
Mon Apr 26 13:33:26 EDT 2004
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.
More information about the Glasgow-haskell-users