This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/op/bop.t: Verify bitwise & ^ | retain UTF-8
authorKarl Williamson <khw@cpan.org>
Wed, 7 Jun 2017 19:57:41 +0000 (13:57 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 7 Jun 2017 21:05:17 +0000 (15:05 -0600)
commitb08562c6e3a8d216e85de7861b51c9a7f1db5532
tree67cc76ebe6592166c577407a6e2a1be6622b0425
parent11c9859f920c51ebb0f8e9913646e4216b06519c
t/op/bop.t: Verify bitwise & ^ | retain UTF-8

If one of the inputs is encoded in UTF-8, the behavior has been to have
the output be also in UTF-8.  This has not been really documented, but I
think that is the way it should be.  In any case, this commit adds tests
to make sure it doesn't inadvertently get changed.
t/op/bop.t