HAS_CHARS
# define HAS_CHAR(enc, ptr, end) HAS_CHARS(enc, ptr, end, 1)
if (! HAS_CHARS(enc, ptr, end, count)) { \
if (HAS_CHARS(enc, ptr, end, 2)) {
if (HAS_CHARS(enc, ptr, end, 3)) {