Skip Menu |
 

This queue is for tickets about the Net-SFTP-Foreign CPAN distribution.

Report information
The Basics
Id: 127070
Status: new
Priority: 0/
Queue: Net-SFTP-Foreign

People
Owner: Nobody in particular
Requestors: roland.kapl [...] oebfa.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="_000_65F5A637CFFD2144947F7C898064D8FB55D18841OEBFAMXSVI00oeb_"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.898
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4600B240266 for <cpan-bug+Net-SFTP-Foreign [...] hipster.bestpractical.com>; Sat, 8 Sep 2018 05:48:18 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HeHGQ6hjKc5P for <cpan-bug+Net-SFTP-Foreign [...] hipster.bestpractical.com>; Sat, 8 Sep 2018 05:48:16 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 213A62401C9 for <bug-Net-SFTP-Foreign [...] rt.cpan.org>; Sat, 8 Sep 2018 05:48:15 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 3E9B0120A19 for <bug-Net-SFTP-Foreign [...] rt.cpan.org>; Sat, 8 Sep 2018 02:48:14 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 792C1120A1D for <bug-Net-SFTP-Foreign [...] rt.cpan.org>; Sat, 8 Sep 2018 02:48:09 -0700 (PDT)
Received: from mailx14.cna.at (mailx14.cna.at [85.158.228.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id A1ECE120A19 for <bug-Net-SFTP-Foreign [...] rt.cpan.org>; Sat, 8 Sep 2018 02:48:02 -0700 (PDT)
Received: from mailx.cna.at ( [172.18.105.14]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mailx14.cna.at (mailx.cna.at) with SMTP id 0F.C2.04826.E76939B5; Sat, 8 Sep 2018 11:29:34 +0200 (CEST)
Received: from oebfamxsvi00.oebfa.co.at (193.46.170.248) by mailx.cna.at (172.18.105.14) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 8 Sep 2018 11:29:34 +0200
Received: from OEBFAMXSVI00.oebfa.co.at ([fe80::a98f:17c9:c631:7668]) by OEBFAMXSVI00.oebfa.co.at ([fe80::a98f:17c9:c631:7668%12]) with mapi id 14.03.0415.000; Sat, 8 Sep 2018 11:29:27 +0200
Delivered-To: cpan-bug+Net-SFTP-Foreign [...] hipster.bestpractical.com
X-Auditid: 559ee417-029ff700000012da-00-5b93967e35f8
Subject: binmode STDOUT change of discipline
Thread-Index: AdRHVkdVUIFCoUsYSUGzJ6S/MNwlAQ==
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsWyRiiTT7du2uRogyU/LSwuz2ticWD0mPft O1MAYxSXTUpqTmZZapG+XQJXxurHT9kLlnpV/O94x9TAeMCpi5GTQ0LARGJXTy97FyMXh5BA K5PEpFuLWCCcNYwSG1f2sUI4hxgl7uy5xAbSwiagITGzYz4ziC0i4ClxuOssE4gtLKAjcXtW NytE3FCi/f0eFghbT+LslyeMIDaLgIrEn8aHYPW8Av4S+z9tBqthFJCV2LDhPNhMZgFxiU3P vrNCnCcgsWQPRFxCQFTi5eN/UHFFie6FHVC2rsS6Be/ZIGxDiVXTDrBA2NISb3rWsUHMzJf4 cfANO8ReQYmTM5+A1QgBzXm47jnrBEaxWUhWz0LSMgtJC0RcT+LG1ClsELa2xLKFr5khbF2J Gf8OsSCLL2BkX8XIl5uYmVNhaKKXnJeol1iyiREYaaHznojvYNy/OvIQowAHoxIPr0nb5Ggh 1sSy4spcYFBzMCuJ8E5LAwrxpiRWVqUW5ccXleakFh9ilOZgURLnXS/oHy0kkJ5YkpqdmlqQ WgSTZeLglGpg9Jl46OQzpl8s4i/KXLUT8lyOKeW19nuzBvdPPzNBReNy4EWjwD1Lv3oq5l4Q 6ig3rf0Uv+rIpvfX3vF/dWK54PPHSY5Hg/tDhZ6Y6LppV9SyxC719B4zVZrzao5NXueprTml 7pf+BTb2rJjcG/Hhtq7t7OSH8/wclq2IcjG5/Cve8Pa0BVdUlFiKMxINtZiLihMBk5D3QbAC AAA=
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_70_90 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTH_SIZE_3000_MORE 0, BODYTEXTP_SIZE_3000_LESS 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, URI_WITH_PATH_ONLY 0, WEBMAIL_SOURCE 0, WEBMAIL_XOIP 0, WEBMAIL_X_IP_HDR 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_XOIP 0, __HTML_FONT_BLUE 0, __HTML_TAG_DIV 0, __IMS_MSGID 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __SANE_MSGID 0, __STYLE_RATWARE_NEG 0, __STYLE_TAG 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_START 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_PATH 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR '
Date: Sat, 8 Sep 2018 09:29:24 +0000
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2018.9.8.93916
To: "bug-Net-SFTP-Foreign [...] rt.cpan.org" <bug-Net-SFTP-Foreign [...] rt.cpan.org>
X-Kse-Antivirus-Interceptor-Info: scan successful
X-Spam-Status: No, score=-1.898 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_FAIL=0.001] autolearn=no
Content-Language: de-DE
Message-ID: <65F5A637CFFD2144947F7C898064D8FB55D18841 [...] OEBFAMXSVI00.oebfa.co.at>
X-MS-Tnef-Correlator:
Return-Path: <roland.kapl [...] oebfa.at>
X-Original-To: cpan-bug+Net-SFTP-Foreign [...] hipster.bestpractical.com
X-RT-Mail-Extension: net-sftp-foreign
X-Kse-Antivirus-Info: Clean
Thread-Topic: binmode STDOUT change of discipline
X-MS-Has-Attach:
X-Kse-Serverinfo: OEBFAMXSVI00.oebfa.co.at, 9
X-Originating-Ip: [192.168.170.2]
Accept-Language: de-DE, en-US
From: Kapl Roland <roland.kapl [...] oebfa.at>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1137
Download (untitled) / with headers
text/plain 1.1k
Dear Salvador! I use changing the output discipline with <binmode STDOUT, ":encoding(CP850)";> at the beginning of my script to get decent output of special characters (german "Umlauts", like ä,ö,ü etc.). Now, Net::SFTP::Foreign package seems to revert this to raw after calling Net::SFTP::Foreign->new( host => $param->{RemoteHost}, user => $param->{user}, port => ($param->{port} ? $param->{port} : '22'), ssh_cmd => $plinkInstallationPath, more => [ -i => $param->{privKey}, "-v"] ); I can work around this by setting binmode STDOUT, ":encoding(CP850)"; right after this call, however, I think this should be handled by Net::SFTP::Foreign. I suspect this to happen in Net::SFTP::Foreign::Backend::Windows, in sub _init_transport_streams { my ($backend, $sftp) = @_; binmode $sftp->{ssh_in}; binmode $sftp->{ssh_out}; } -regards, Roland
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 7465


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.