diff options
author | Karl Williamson <khw@cpan.org> | 2019-10-02 16:43:50 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-10-06 10:18:17 -0600 |
commit | d7bcd45a8b00fa6be02a62e097629473b2a9becc (patch) | |
tree | c9f5d09369861193ba6cbf782ce7688a228e6ab8 /utf8.h | |
parent | 009097b13d65a5e37b729c12f1bb088e7c3c7316 (diff) | |
download | perl-d7bcd45a8b00fa6be02a62e097629473b2a9becc.tar.gz |
utf8.h: Add comment
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -355,7 +355,9 @@ C<cp> is Unicode if above 255; otherwise is platform-native. #endif /* EBCDIC vs ASCII */ -/* 2**UTF_ACCUMULATION_SHIFT - 1 */ +/* 2**UTF_ACCUMULATION_SHIFT - 1. This masks out all but the bits that carry + * real information in a continuation byte. This turns out to be 0x3F in + * UTF-8, 0x1F in UTF-EBCDIC. */ #define UTF_CONTINUATION_MASK ((U8) ((1U << UTF_ACCUMULATION_SHIFT) - 1)) /* Internal macro to be used only in this file to aid in constructing other |