UTF-8 encode/decode

David Brown haskell at davidb.org
Tue Apr 27 03:18:08 EDT 2004

On Tue, Apr 27, 2004 at 10:55:57AM +0200, George Russell wrote:

> I have implemented UTF8-encode/decode.  Unlike the code someone has already
> posted it handles all UTF8 sequences, including those longer than 3 bytes.
> It also catches all illegal UTF8 sequences (such as characters encoded
> with a longer sequence than necessary).  Here is the code.

What license is your code covered under?  As it stands now, it is an
informative example, but cannot be used by anybody.

Dave Brown

More information about the Glasgow-haskell-users mailing list