[Haskell-cafe] ANNOUNCE: utf8-string-0.1

Eric Mertens emertens at gmail.com
Sun Jul 8 17:36:20 EDT 2007


I'd like to announce that I have posted a UTF-8 encoding/decoding
library to hackage. This library also includes replacements for most
of the System.IO namespace under System.IO.UTF8. This library detects
overlong sequences, and replaces invalid code-points and invalid
encodings with the replacement character '\xfffd'.

The following file was used to ensure that the decoder was considered "safe":

utf8-string can be found on hackage:

source code is available via:
darcs get http://code.haskell.org/utf8-string/

Eric Mertens

More information about the Haskell-Cafe mailing list