Change the encoding to `utf8-c8` to let the invalid unicode through.

or use binary methods.

or make sure it isn't in some other encoding.
On Sat, Oct 13, 2018 at 5:18 AM ToddAndMargo via perl6-users
<perl6-us...@perl.org> wrote:
>
> Hi All,
>
>       if  $StdOut  { $ReturnStr = $$proc.out.slurp-rest; }
>
> gives me
>
>       Malformed UTF-8
>
> How do I clean up $$proc.out.slurp-rest ??
>
> Many thanks,
> -T

Reply via email to