Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 20:16:50 -0400
From:      Ed Maste <emaste@phaedrus.sandvine.ca>
To:        Garrett Wollman <wollman@csail.mit.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Bsdtar and archive torture tests
Message-ID:  <20050927001650.GA9994@sandvine.com>
In-Reply-To: <17208.30606.117170.36398@khavrinen.csail.mit.edu>
References:  <20050926195807.GD95971@sandvine.com> <17208.30606.117170.36398@khavrinen.csail.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 26, 2005 at 06:34:54PM -0400, Garrett Wollman wrote:

> What is your locale set to?
> 
> POSIX pax interchange format, the default for bsdtar, requires file
> names in archives to be represented in UTF-8.  <C3><A0>, when
> interpreted as UTF-8, is the character U+00E0 (LATIN SMALL LETTER A
> WITH GRAVE ACCENT).

Hmm, good point.  I haven't set it to anything; locale(1) shows
that the LC_ variables are set to "C".  So then I can see how this
happens, but it's still surprising (to me) behaviour.

I guess that, with my locale set to "C", <C3><A0> does not represent
valid characters, and it's not possible to convert to UTF-8.  I wonder
if bsdtar should emit a warning or similar in this case?

--
Ed Maste, Sandvine Incorporated



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