len is wrong - needs to be the utf8 size I suspect.