On Mon, 13 Nov 2017 20:29:52 -0800, d...@zwell.net wrote:
> With Linenoise installed, I get this error:
> 
> Malformed UTF-8 at line 1 col 6

That looks like it might be working correctly, except cmd.exe wasn't told to 
UTF-8 code page (need to run `chcp 65001`).


> But in the REPL, I tried to run:
> > <a b>».say
> 
> Without Linenoise installed, Rakudo endlessly repeats "> Decoder may not be
> used concurrently"

On 2017.07 on Win7 with 65001 code page enabled, the » char doesn't show up at 
all. Just seems to get removed from the content if I paste it into the terminal.

The default REPL uses `prompt` to read stuff and here's another datapoint: 
prompt() returns Nil if the data it reads has fancy Unicode chars like » or 「」:

    C:\Users\zoffi>perl6 -e "say prompt"
    »
    Nil
    
    C:\Users\zoffi>perl6 -e "say prompt"
    42
    42

    C:\Users\zoffi>perl6 -e "say prompt"
    42»
    Nil

    C:\Users\zoffi>perl6 -e "say prompt"
    »42
    Nil

Looks like it might be a good place to start looking at for the OP bug.

Reply via email to