diff options
author | Karl Williamson <khw@cpan.org> | 2017-11-18 16:43:40 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-11-18 19:49:46 -0700 |
commit | 566efd885319cacbde16a751c5a0754dcc8eca08 (patch) | |
tree | fa3ec0fed6c14622a17c457dea07adda6ec9af33 /unicode_constants.h | |
parent | 7358a03332a501d169cef70bb82dfc59b01b6ae1 (diff) | |
download | perl-566efd885319cacbde16a751c5a0754dcc8eca08.tar.gz |
regen/unicode_constants.pl: Add U+10FFFF entry
We need the length of the UTF-8 for this code point elsewhere, and it
is different between ASCII and EBCDIC.
Diffstat (limited to 'unicode_constants.h')
-rw-r--r-- | unicode_constants.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unicode_constants.h b/unicode_constants.h index 0bd08139aa..a3d50ad630 100644 --- a/unicode_constants.h +++ b/unicode_constants.h @@ -73,6 +73,8 @@ bytes. # define REPLACEMENT_CHARACTER_UTF8 "\xEF\xBF\xBD" /* U+FFFD */ +# define MAX_UNICODE_UTF8 "\xF4\x8F\xBF\xBF" /* U+10FFFF */ + # define NBSP_NATIVE 0xA0 /* U+00A0 */ # define NBSP_UTF8 "\xC2\xA0" /* U+00A0 */ @@ -116,6 +118,8 @@ bytes. # define REPLACEMENT_CHARACTER_UTF8 "\xDD\x73\x73\x71" /* U+FFFD */ +# define MAX_UNICODE_UTF8 "\xEE\x42\x73\x73\x73" /* U+10FFFF */ + # define NBSP_NATIVE 0x41 /* U+00A0 */ # define NBSP_UTF8 "\x80\x41" /* U+00A0 */ @@ -159,6 +163,8 @@ bytes. # define REPLACEMENT_CHARACTER_UTF8 "\xDD\x72\x72\x70" /* U+FFFD */ +# define MAX_UNICODE_UTF8 "\xEE\x42\x72\x72\x72" /* U+10FFFF */ + # define NBSP_NATIVE 0x41 /* U+00A0 */ # define NBSP_UTF8 "\x78\x41" /* U+00A0 */ |