That looks like a Parrot problem, trying to force input characters to
UTF8. Can you open a ticket at trac.parrot.org for it? Thanks

--Andrew Whitworth



On Tue, Dec 28, 2010 at 5:41 AM, Hiroki Horiuchi <x19...@gmail.com> wrote:
> Hello.
>
> This program
> --
> #!/usr/bin/env perl6
>
> use v6;
>
> my $h = open '/dev/urandom', :r;
> loop (;;) {
>  $h.getc;
> }
> --
> spits an error below.
> --
> Malformed UTF-8 string
>
>  in 'IO::getc' at line 5457:CORE.setting
>  in main program body at line 7:./getc.p6
> --
> How can I fix the problem?
>
> Thank you.
> --
> Hiroki Horiuchi
>
>

Reply via email to