This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: is_utf8_char_slow() should use native length
authorKarl Williamson <public@khwilliamson.com>
Tue, 26 Feb 2013 20:51:05 +0000 (13:51 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 15:55:48 +0000 (09:55 -0600)
commit18712bce21cd3a4cc828cabeb9b4983ce37d2b69
tree880878d4aac3242cae6c8b75623833be47d2e9ad
parentd7f2696daa830564250fcf2f421bb58e97f14d0d
utf8.c: is_utf8_char_slow() should use native length

What is passed is the actual length of the native utf8 character.  What
this was calculating was the length it would be if it were a Unicode
character, and then compared, apples to oranges.
utf8.c