refactor
move utf8char_bytes() to bottom of the file
improve documentation