First attempt at UTF8 encode/decoder.