From 9b7e2116e6d356344b74cfefbce9798ca09a0ef9 Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Wed, 28 Feb 2024 13:17:52 +0100 Subject: [PATCH] Rewrite "UTF-8 sequence(s)" to "UTF-8 code point(s)" --- index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 986de349b..29f951991 100644 --- a/index.bs +++ b/index.bs @@ -4930,7 +4930,7 @@ Such truncation SHOULD also respect UTF-8 code point boundaries or [=grapheme cl The resulting truncated value MAY be shorter than the chosen size limit but MUST NOT be shorter than the longest prefix substring that satisfies the size limit and ends on a [=grapheme cluster=] boundary. -For example, in figure the string is 65 bytes long. If truncating to 64 bytes then the final 0x88 byte must be removed purely because of space reasons. Since that leaves a partial UTF-8 sequence the remainder of that sequence may also be removed. Since that leaves a partial [=grapheme cluster=] an authenticator may remove the remainder of that cluster. +For example, in figure the string is 65 bytes long. If truncating to 64 bytes then the final 0x88 byte must be removed purely because of space reasons. Since that leaves a partial UTF-8 code point the remainder of that code point may also be removed. Since that leaves a partial [=grapheme cluster=] an authenticator may remove the remainder of that cluster.
@@ -4939,7 +4939,7 @@ For example, in figure