On Thu, 16 Nov 2017 02:28:11 -0800, d...@zwell.net wrote:
> The Windows command shells I've used (CMD and Cmder) fail to print the "「」"
> that are part of stringified matches. This is a significant issue, since
> new users use regular expressions when working through tutorials.
> 
> Since pasting these characters into the console will also yield garbage, I
> suggest we pick different symbols, like "┘┌", instead. (IMO, it's important
> to choose two symbols that will not blend together when showing an empty
> match.)
> 
> The current output:
> > say 'a' ~~ /./
> 「a」
> 
> Note: I'm using the October 2017 Rakudo release.

That's because Windows cmd.exe isn't using UTF-8 by default. You need to run 
`chcp 65001` to switch to the proper code page.

-1 on trying to cater to cmd.exe's featureset or using mismatched brackets.

Reply via email to