From 36da1e17a35eb23f0d666ee29dbff5c7823cad4c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 14 Jun 2021 04:03:32 -0600 Subject: utf8.h: Add a #define synonym This is more clearly named for various uses in this file. It has an unwieldy length, but is unlikely to be used outside it. --- utfebcdic.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utfebcdic.h') diff --git a/utfebcdic.h b/utfebcdic.h index 4ae440ce7e..56e268f302 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -207,8 +207,7 @@ explicitly forbidden, and the shortest possible encoding should always be used * there are 6 bits of real information in a UTF-8 continuation byte vs. 5 bits * in a UTF-EBCDIC one. */ -#define UTF_ACCUMULATION_SHIFT 5 - +#define UTF_CONTINUATION_BYTE_INFO_BITS 5 /* Also needed is how perl handles a start byte of 8 one bits. The decision * was made to just append the minimal number of bytes after that so that code * points up to 64 bits wide could be represented. In UTF-8, that was an extra -- cgit v1.2.1