Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2009 10:15:16 +0000
From:      Chris Rees <utisoft@googlemail.com>
To:        =?UTF-8?B?TWloYWkgRG9uyJt1?= <mihai.dontu@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: accents in file names
Message-ID:  <b79ecaef0902170215o2cde7e2etc0c2a7c8a4b897b8@mail.gmail.com>
In-Reply-To: <200902162205.17644.mihai.dontu@gmail.com>
References:  <499498A4.4000103@webvolution.net> <20090212235015.U97916@wojtek.tensor.gdynia.pl> <E2340929-392C-48C0-B8B6-F5527C5A249D@mac.com> <200902162205.17644.mihai.dontu@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/2/16 Mihai Don=C8=9Bu <mihai.dontu@gmail.com>:
> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0902170215o2cde7e2etc0c2a7c8a4b897b8>