You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, this output an error message consisting of two characters
while calling it a single malformed character. And croak.t tested for
that. But that message is misleading.
Copy file name to clipboardExpand all lines: t/lib/croak/toke_l1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,5 +18,5 @@ Malformed UTF-8 character (fatal) at - line 2.
18
18
use utf8;y'0�''
19
19
EXPECT
20
20
Malformed UTF-8 character: \xc1\x27 (unexpected non-continuation byte 0x27, immediately after start byte 0xc1; need 2 bytes, got 1) at - line 1.
21
-
Malformed UTF-8 character: \xc1\x27 (any UTF-8 sequence that starts with "\xc1" is overlong which can and should be represented with a different, shorter sequence) at - line 1.
21
+
Malformed UTF-8 character: \xc1 (any UTF-8 sequence that starts with "\xc1" is overlong which can and should be represented with a different, shorter sequence) at - line 1.
0 commit comments