Raise better message on invalid or reserved codepoints