Perl_utf16_to_utf8() should treat "\0" like any every other odd-length input.
authorNicholas Clark <nick@ccl4.org>
Thu, 22 Oct 2009 12:30:03 +0000 (13:30 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 22 Oct 2009 12:30:03 +0000 (13:30 +0100)
commit26cc780bb8911dcc1e2c3e971db95322db3e2d9f
treec504372fad1cbe92f56d901ca3f78830ec0d3f59
parentc28d61051c446453c532f387d478df78d6f95c55
Perl_utf16_to_utf8() should treat "\0" like any every other odd-length input.

The "be understanding" bodge to not panic, introduced in 1de9afcdf18cf98b, is
no longer needed now that c28d61051c446453 fixes the underlying problem.
ext/XS-APItest/t/utf16_to_utf8.t
utf8.c