X-PMX-Spam: Gauge=IIIIIIII, 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, REFERENCES 0, __ANY_URI 0, 
__BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CD 0, __CT 0, __CTE 0, 
__CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, 
__FRAUD_CONTACT_NUM 0, __FRAUD_MONEY 0, __FRAUD_MONEY_BIG_COIN 0, 
__FRAUD_MONEY_BIG_COIN_DIG 0, __FRAUD_MONEY_CURRENCY 0, 
__FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_MONEY_VALUE 0, __HAS_FROM 0, 
__HAS_LIST_HEADER 0, __HAS_LIST_HELP 0, __HAS_LIST_ID 0, __HAS_LIST_SUBSCRIBE 
0, __HAS_LIST_UNSUBSCRIBE 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, 
__MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, 
__REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0,
 __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, 
__UNUSABLE_MSGID 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0'
X-PMX-Spam-Level: IIIIIIII
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data:
 2018.9.13.130916
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 
2018.9.13.130916

  Hi Wolfgang,

  that is an Windows issue. You can see that if you pipe the output of
  your program in a textfile (from within the command interpreter: cmd.exe):

  c:\> install.exe > x.txt

  and the 'hex' your x.txt..

  A.


On 13.09.18 14:21, 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 different encodings like windows-1251, utf16 and so on. No
> luck.
> 
> The string I get looks like that:
> S e t t i n g   u p   f o l d e r   C : \ U s e r s \ w o l f
> Hex:
> 53 00 65 00 74 00 74 00 69 00 6E 00 67 00 20 00 75 00 70 00 20 00 66 00 6F
> 00 6C 00 64 00 65 00 72 00 20 00 43 00 3A 00 5C 00 55 00 73 00 65 00
> 
> Here my program:
> 
> my $installer = run $install-file, :out;
> for $installer.out.lines -> $line {
>     say $line;
> }
> 
> Any idea whats wrong here. A WIndows issue or do I something wrong?
> 
> Thanks for helping,
> Wolfgang

-- 
Andreas Müller - Raum: 35/114b - Tel: 2875

Reply via email to