code: public void setCharsetEncoding(String charset) throws SshException,
  			UnsupportedEncodingException {
  
  		if (version == -1)
  			throw new SshException(
  					"SFTP Channel must be initialized before setting character set encoding",
  					SshException.BAD_API_USAGE);
  
  		String test = "123456890";
  		test.getBytes(charset);
  		CHARSET_ENCODING = charset;
  	}
docs: Allows the default character encoding to be overriden for filename
  strings. This method should only be called once the channel has been
  initialized, if the version of the protocol is less than or equal to 3
  the encoding is defaulted to latin1 as no encoding is specified by the
  protocol. If the version is greater than 3 the default encoding will be
  UTF-8.
  
  @param charset
  @throws UnsupportedEncodingException
  @throws SshException