This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In utf16_to_utf8(), fix off-by-one errors for the range of valid surrogates.
authorNicholas Clark <nick@ccl4.org>
Sun, 18 Oct 2009 21:09:14 +0000 (22:09 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 18 Oct 2009 21:10:36 +0000 (22:10 +0100)
commit52b9aa85a8c28ddc591b0a7f2b1f8c729075d9a1
tree3b59c7ff5092a87d0e5e887db9e18410b7657e98
parentdbde19516d139ef4237fc56ac1a14665a9f13c0b
In utf16_to_utf8(), fix off-by-one errors for the range of valid surrogates.

Both high ends were one too low.
ext/XS-APItest/t/utf16_to_utf8.t
utf8.c