UTF8 (was Re: Hexdump)

Ashley Yakeley ashley at semantic.org
Wed Mar 22 22:27:16 EST 2006

Simon Marlow wrote:

> Getting a UTF-8 decoder right is quite non-trivial.  Take a look at this:
>   http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
> I made a half-hearted attempt to get most of this right in GHC's UTF-8 
> decoder, but by no means all of it is implemented.  I do think it would 
> be nice if the Haskell implementation was correct, for some value of 
> correct, though.

There are a couple of implementations here:

SF project:

It hasn't been touched for a couple of years.

Ashley Yakeley, Seattle WA
WWED? http://www.cs.utexas.edu/users/EWD/

More information about the Libraries mailing list