diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-04-03 21:59:16 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:56:05 -0600 |
commit | f710bf0c914270e8b2b3f6c31e2fd6246aa8a762 (patch) | |
tree | 101311c5346fd1a793410fb42792019954e76cda /utf8.h | |
parent | 08fb1ac5e6aef1e5521f83d7ddf830d92ac82cd9 (diff) | |
download | perl-f710bf0c914270e8b2b3f6c31e2fd6246aa8a762.tar.gz |
utf8.h: Clarify comments
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -202,12 +202,12 @@ Perl's extended UTF-8 means we can have start bytes up to FF. /* This defines the 1-bits that are to be in the first byte of a multi-byte * UTF-8 encoded character that give the number of bytes that comprise the - * character. - * */ + * character. 'len' is the number of bytes in the multi-byte sequence. */ #define UTF_START_MARK(len) (((len) > 7) ? 0xFF : (0xFF & (0xFE << (7-(len))))) /* Masks out the initial one bits in a start byte, leaving the real data ones. - * Doesn't work on an invariant byte */ + * Doesn't work on an invariant byte. 'len' is the number of bytes in the + * multi-byte sequence that comprises the character. */ #define UTF_START_MASK(len) (((len) >= 7) ? 0x00 : (0x1F >> ((len)-2))) /* This defines the bits that are to be in the continuation bytes of a multi-byte |