This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix IS_UTF8_CHAR() to recognise start bytes 0xF5, 0xF6, 0xF7.
authorNicholas Clark <nick@ccl4.org>
Tue, 21 Dec 2010 16:55:38 +0000 (16:55 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 21 Dec 2010 16:55:38 +0000 (16:55 +0000)
commita18d6e6e4cf998a0ba9067ceac2d75f71aedef15
tree0b3b68d0cdb46f49e3bdd0d7a09c163c9480163f
parente4dc48dc285e86e786d9f1ca22417ef481b6daff
Fix IS_UTF8_CHAR() to recognise start bytes 0xF5, 0xF6, 0xF7.

The refactoring of 3b0fc154d4e77cfb inadvertently introduced a bug
in Perl_is_utf8_char() and its callers, such as Perl_is_utf8_string(),
whereby the beyond-Unicode characters 0x140000 to 0x1fffff were no longer
recognised as valid.
lib/utf8.t
utf8.h