From: Alexander Borisov Date: Wed, 22 Jul 2020 12:21:13 +0000 (+0300) Subject: Fixed clearing UTF-8 context for two-byte codepoints. X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=bb381551df03f8da8e4ad73f069fa5085cd676c7;p=njs.git Fixed clearing UTF-8 context for two-byte codepoints. --- diff --git a/src/njs_utf8.h b/src/njs_utf8.h index f9518cad..5c870d42 100644 --- a/src/njs_utf8.h +++ b/src/njs_utf8.h @@ -103,6 +103,7 @@ njs_inline void njs_utf8_decode_init(njs_unicode_decode_t *ctx) { ctx->need = 0x00; + ctx->lower = 0x00; }