You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Daniel F. Savarese" <df...@savarese.org> on 2004/08/06 16:46:28 UTC

Re: Commons-net.FTPClient

In message <20...@javactivity.org>, Steve Cohen writes:
>Sorry I missed your earlier post.  The answer is, unfortunately, that the 
>package does not support the easy conversion to UTF-8.

If he needs to change the encoding for the control connection, he can
recompile the source with FTP.__DEFAULT_ENCODING redefined.  If it
is a common requirement to use multi-byte character encodings on
the control connection, we can add a setControlEncoding or some such
method and/or make the control input and output reader/writers protected.
There may be some way for telnet (the FTP control connection) to
autonegotiate the character encoding, but there's no reason to believe
FTP servers dealing in UTF-8 or other multi-byte encodings implement
a negotiation.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org