diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-14 04:03:32 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 05:14:43 -0600 |
commit | 36da1e17a35eb23f0d666ee29dbff5c7823cad4c (patch) | |
tree | 57b5835319c8a613d906f81a83b99929f3a30c65 /utfebcdic.h | |
parent | 0176a72cd6a1944962390c37151a16b5ea9cd5e5 (diff) | |
download | perl-36da1e17a35eb23f0d666ee29dbff5c7823cad4c.tar.gz |
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.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |