This problem still occurs with the rewritten UTF8-C8 implementation.
-zefram
Additional: an apparently-null string operation, such as substituting a
substring (appearing in the Str) with itself, can mangle the string in
the same manner as .perl.EVAL:
> Blob[uint8].new(233, 1).decode("utf8-c8").subst("\x[1]",
> "\x[1]").encode("utf8-c8").perl
Blob[uint8].new(244,143,191,18
# New Ticket Created by Zefram
# Please include the string: [perl #128513]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128513 >
Str.perl fails to represent whatever is being used by the utf8-c8 encoding
to represent a non-U