Hi,

   +-From: "Oberhuber, Martin" <[EMAIL PROTECTED]> --
   |_Date: Tue, 10 Jun 2008 02:19:26 +0200 _______________________
   |
   |ChannelExec.setCommand(String cmd) always sends the command in the local
   |(client) default encoding. Which is not correct e.g. when working on a
   |remote Linux host with UTF-8 encoding.
   ...
   |I would suggest adding
   |   ChannelExec#setCommand(byte[] cmd)
   |in order to allow the user specify the command in "raw" form; or, adding
   |   ChannelExec#setEncoding(String encoding)
   |in order to allow the user specify the encoding in which the command
   |should be sent

Since 0.1.38, "ChannelExec#setCommand(byte[] command)" has been
added and I hope that it is what you have expected.


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to