From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 08:10:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01B91106567A for ; Sat, 24 Jan 2009 08:10:28 +0000 (UTC) (envelope-from firas@itsuki.fkraiem.org) Received: from itsuki.fkraiem.org (itsuki.fkraiem.org [IPv6:2001:41d0:1:ac7b::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4688FC0A for ; Sat, 24 Jan 2009 08:10:27 +0000 (UTC) (envelope-from firas@itsuki.fkraiem.org) Received: from itsuki.fkraiem.org (80@localhost [127.0.0.1]) by itsuki.fkraiem.org (8.14.3/8.14.3) with ESMTP id n0O8AQFU082805 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sat, 24 Jan 2009 08:10:26 GMT (envelope-from firas@itsuki.fkraiem.org) Received: (from www@localhost) by itsuki.fkraiem.org (8.14.3/8.14.3/Submit) id n0O8AQxE082804 for freebsd-questions@freebsd.org; Sat, 24 Jan 2009 08:10:26 GMT (envelope-from firas@itsuki.fkraiem.org) X-Authentication-Warning: itsuki.fkraiem.org: www set sender to firas@itsuki.fkraiem.org using -f Received: from LAubervilliers-153-52-38-99.w217-128.abo.wanadoo.fr (LAubervilliers-153-52-38-99.w217-128.abo.wanadoo.fr [217.128.221.99]) by horde.fkraiem.org (Horde Framework) with HTTP; Sat, 24 Jan 2009 08:10:25 +0000 Message-ID: <20090124081025.154262a7qz530169@horde.fkraiem.org> Date: Sat, 24 Jan 2009 08:10:25 +0000 From: Firas Kraiem To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.2) Subject: Foreign characters in filenames on FTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 08:10:28 -0000 Hi, I have an issue with filenames that have foreign (e.g. Japanese) characters in them when trying to access them by FTP from a Windows machine (the server is running FreeBSD 7.1, the same problem occurs with both the builtin ftpd and vsftpd). It is most likely an encoding problem, but I can't figure out where it lies exactly. It basically boils down to this: When I access the FTP from my Windows machine, the foreign characters come as a load of random characters. However, when I access it from a Linux machine, everything is fine, and the filemanes are also fine when I use ls at the shell. As I said, it is most likely a problem in how FreeBSD encodes the filenames, but I read throught the mount(8) man page and found no option that would allow changing it. Any pointers would be much appreciated. Firas