A simple UTF-8 library in C