From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 10:15:17 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 8E75F10656CB for ; Tue, 17 Feb 2009 10:15:17 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5E85E8FC0A for ; Tue, 17 Feb 2009 10:15:17 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by rv-out-0506.google.com with SMTP id f6so2133959rvb.43 for ; Tue, 17 Feb 2009 02:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rZuV5prZZO0xSYnjVToTUrYdizRHn3rJWPTa5/CT0EI=; b=u9U7W/s4O269zMULlzwcbtYpZkMbrB1QLcsB/ZCvc1XITw1wmlI6wNpe6ji1JAnQau ezyXKJ0URZrSlXH8YJIEfi+L67mSJadyrb8YO7GMFxq8b+TnLc6hhUZywGVybtBFW8r/ oZ/IPyCcnl4Xp/FskyukyrEZT9nn/eF1pJsAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=x/NVu5OWZB9/TnTdtzS9vOEz0K1bZZDkZSB8v/pRfJaSQiKqwgz1uGdMCrgNQJ0ge8 FUdM2mmMbDako9/AXfG5IS5nw+zm4pbHNfuWS9LOQ9PsvQn7xSQ4A7lF9oUpGP6lbPYT AYU1uq6xR6OS1Riq02f4NLYDCyKytFbcc8Sp0= MIME-Version: 1.0 Received: by 10.142.240.9 with SMTP id n9mr394753wfh.0.1234865716887; Tue, 17 Feb 2009 02:15:16 -0800 (PST) In-Reply-To: <200902162205.17644.mihai.dontu@gmail.com> References: <499498A4.4000103@webvolution.net> <20090212235015.U97916@wojtek.tensor.gdynia.pl> <200902162205.17644.mihai.dontu@gmail.com> Date: Tue, 17 Feb 2009 10:15:16 +0000 Message-ID: From: Chris Rees To: =?UTF-8?B?TWloYWkgRG9uyJt1?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: accents in file names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:15:18 -0000 2009/2/16 Mihai Don=C8=9Bu : > On Friday 13 February 2009, Chuck Swiger wrote: >> On Feb 12, 2009, at 2:50 PM, Wojciech Puchar wrote: >> >>> accented letter to my freebsd box, the accented letter simply >> >>> disappear. >> >> >> >> UFS supports 8-bit characters except for "/" and "\0", but you also >> >> need to run a terminal with UTF8 support and use a correct font to >> >> view such things. >> > >> > why? i use ISO-8859-2 >> >> You've answered "why" when you state that you set up a locale which >> supports ISO Latin-X charset. If you are running in the default C/ >> POSIX locale, using the US-ASCII character set and a font that only >> knows about 7-bit ASCII glyphs, then you won't get accented characters. >> >> > UFS doesn't deal with encoding at all, just store what you give >> >> That's right, which means you need to use filenames encoded in UTF8 >> rather than in arbitrary Unicode. > > UTF-8 is what we prefer these days, but the filesystem can handle anythin= g > that is ASCII compatible (like you said: Shift_JIS, EUC-JP etc.). > > Now, I assume Daniel was copying "fil=C3=A9.txt" from a non-UFS (Windows = box, > FAT32, NTFS etc) filesystem to UFS, because this is the only case I can t= hink > of and in which such a problem might appear. > I assume this is why scp and nfs worked on my example above, but samba didn= 't? --=20 R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf)