Give proper error if codepoint is not in UTF-8