diff --git a/jsonsl.c b/jsonsl.c index e0b5bd7..a2c040d 100644 --- a/jsonsl.c +++ b/jsonsl.c @@ -1413,7 +1413,7 @@ size_t jsonsl_util_unescape_ex(const char *in, *oflags |= JSONSL_SPECIALf_NONASCII; out = jsonsl__writeutf8(uescval, out) - 1; - } else if (uescval > 0xD7FF && uescval < 0xDC00) { + } else if (uescval < 0xDC00) { *oflags |= JSONSL_SPECIALf_NONASCII; last_codepoint = (uint16_t)uescval; out--;