Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 77197 invoked from network); 25 Mar 2010 14:18:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Mar 2010 14:18:08 -0000 Received: (qmail 79533 invoked by uid 500); 25 Mar 2010 10:18:07 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 79278 invoked by uid 500); 25 Mar 2010 10:18:06 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 79270 invoked by uid 99); 25 Mar 2010 10:18:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 10:18:05 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.6.254.129] (HELO tbee.org) (64.6.254.129) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 10:17:57 +0000 Received: (qmail 15419 invoked from network); 25 Mar 2010 06:17:37 -0400 Received: from 82-169-203-130.ip.telfort.nl (HELO ?192.168.1.3?) (82.169.203.130) by tbee.org with SMTP; 25 Mar 2010 06:17:36 -0400 Message-ID: <4BAB3840.7030503@tbee.org> Date: Thu, 25 Mar 2010 11:17:36 +0100 From: Tom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Commons Users List Subject: Re: International characters [FTPClient / VFS] References: <4BAB359E.6030909@tbee.org> In-Reply-To: <4BAB359E.6030909@tbee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2010-03-25 11:06, Tom wrote: > > > The question naturally is: how to I tell the FTPClient to use a > different encoding? The FTP server is Alfresco, so it it written in > Java. I assume I need to use UTF8. Since I have a patch version of VFS (because of another Alfresco FTP problem) anyhow, I hacked a client.setControlEncoding("UTF8"); // Alfresco uses UTF8 into the FtpClientFactory. But there should be a better way. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org