Recognizes a character entity. The hexadecimal marker accepts either case, and the closing semicolon is optional.