Libutf is a port of Plan 9's support library for UTF-8 and Unicode.

Link: http://swtch.com/plan9port/unix/libutf.tgz