More work on utf8 api