Re: Multibyte string in Windows command line

2018-09-17 Thread WFB
Cool, thanks! On Sat, 15 Sep 2018 at 22:41, Brad Gilbert wrote: > I was just informed by samcv on #perl6-dev that she got the > utf16 stream decoder implemented. > http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-09-15#l381 > > It should be in the next release, so after that there

Re: Multibyte string in Windows command line

2018-09-15 Thread Brad Gilbert
I was just informed by samcv on #perl6-dev that she got the utf16 stream decoder implemented. http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-09-15#l381 It should be in the next release, so after that there won't be a reason to do the dance I described earlier. The following

Re: Multibyte string in Windows command line

2018-09-13 Thread WFB
Never mind. .lines gives back Str and thus .encode is needed... Thanks again On Fri, 14 Sep 2018 at 06:20, WFB wrote: > @Andreas Thanks, I was thinking to do that with regex by myself, but that > would be a ugly workaround and only as a last resort. > > @Brad: Cool, thanks, I got the errors as

Re: Multibyte string in Windows command line

2018-09-13 Thread WFB
@Andreas Thanks, I was thinking to do that with regex by myself, but that would be a ugly workaround and only as a last resort. @Brad: Cool, thanks, I got the errors as well. But did not come up with your solution. One question, though: >> for

Re: Multibyte string in Windows command line

2018-09-13 Thread Brad Gilbert
On Thu, Sep 13, 2018 at 7:22 AM WFB wrote: > > Hi all, > > My perl6 runs an executable and prints its output. This output is printed as > multibyte string. I assume the executable gives back a multibyte string and > perl6 interpret its as one byte string for whatever reasons. > I tried Run with

Re: Multibyte string in Windows command line

2018-09-13 Thread Andreas.Mueller
X-PMX-Spam: Gauge=, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_REAL_NAME 0, NO_URI_HTTPS 0,

Re: Multibyte string in Windows command line

2018-09-13 Thread WFB
Thanks! Has nothing to do with perl6. Unfortunately, I have no idea how I can "fix" that. At least I can Windows blame again ^^ Best, Wolfgang On Thu, 13 Sep 2018 at 15:21, wrote: > Hi Wolfgang, > > that is an Windows issue. You can see that if you pipe the output of > your program in a

Re: Multibyte string in Windows command line

2018-09-13 Thread Andreas.Mueller
X-PMX-Spam: Gauge=, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1100_1199 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_REAL_NAME 0, NO_URI_HTTPS 0,

Multibyte string in Windows command line

2018-09-13 Thread WFB
Hi all, My perl6 runs an executable and prints its output. This output is printed as multibyte string. I assume the executable gives back a multibyte string and perl6 interpret its as one byte string for whatever reasons. I tried Run with different encodings like windows-1251, utf16 and so on. No