Re: Malformed UTF-8 ???

2018-10-13 Thread ToddAndMargo via perl6-users
>> >> 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 On 10/13/18 8:18 AM, Brad Gilbert wrote: Change the encoding to `utf8-c8` to let the invalid unico

Re: Malformed UTF-8 ???

2018-10-13 Thread ToddAndMargo via perl6-users
On Sat, Oct 13, 2018 at 11:18 AM ToddAndMargo via perl6-users mailto:perl6-users@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

Re: Atom file icons of executables

2018-10-13 Thread Ahmad Zawawi
Can you please tell me what Perl / Perl 6 plugins are enabled in your Atom environment (i.e. ~/.atom/packages)? I previously had some problems when debugging my Atom plugins while language-perl was enabled. It has a built-in perl6 grammar which conflicts with our language-perl6 atom plugin. Regard

Re: Malformed UTF-8 ???

2018-10-13 Thread Brad Gilbert
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 wrote: > > Hi All, > > if $StdOut { $ReturnStr = $$proc.out.slurp-rest; } > > gives me >

Re: Malformed UTF-8 ???

2018-10-13 Thread Ralph Mellor
Why are you asking about cleaning something up? Is it because you thought `Malformed UTF-8` was an error message? If so, great, because it IS an error message. If not, you need to know that Malformed UTF-8 is an error message and we need to think about how to make that more clear. So that's the

Malformed UTF-8 ???

2018-10-13 Thread ToddAndMargo via perl6-users
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

Re: need --> help

2018-10-13 Thread ToddAndMargo via perl6-users
On 10/13/18 3:06 AM, Ralph Mellor wrote: That would work. I think it's more idiomatic to write the declaration as: my (Str $x, Int $y) = ... which saves repeating the `my`. -- raiph Thank you!

Malformed UTF-8 ???

2018-10-13 Thread ToddAndMargo via perl6-users
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

Re: need --> help

2018-10-13 Thread Ralph Mellor
That would work. I think it's more idiomatic to write the declaration as: my (Str $x, Int $y) = ... which saves repeating the `my`. -- raiph On Fri, Oct 12, 2018 at 11:47 PM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 10/12/18 3:27 PM, Curt Tilmes wrote: > > > > > > On F