Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.netbsd.tech.userlevel > #11867

Re: CVS commit: src/external/bsd/libarchive/dist/libarchive

From Greg Troxel <gdt@lexort.com>
Newsgroups muc.lists.netbsd.tech.userlevel
Subject Re: CVS commit: src/external/bsd/libarchive/dist/libarchive
Date 2026-08-24 09:23 -0400
Organization Newsgate at muc.de e.V.
Message-ID <rmizeyb1wk3.fsf@s1.lexort.com> (permalink)
References <> <aoxD33xvDytFYOY7@big-apple.aprisoft.de>

Show all headers | View raw


Martin Husemann <martin@duskware.de> writes:

> On Mon, Aug 24, 2026 at 02:55:06PM +0200, Thomas Klausner wrote:
>> Personally I'm not quite sure if I want a tar tool to convert between
>> encodings. Is the base encoding included in the tar file?
>
> Officially (AFAICT) ustar format only supports ASCII, everything else
> is a grey area.

I can see that, tar being from long ago.  Within UB, though, it seems
really obvious to just take the bytes in the filename in the archive and
use that with syscalls and not do any character set stuff, unless
explicitly requested.

What kind of conversions do you think are happening with libarchive, and
why do you think those conversions are a good idea?  (Genuine question;
I am fuzzy about beyond-ascii in filenames in general)



> Best option is to use pax format, where the filename is guaranteed to
> be UTF8 encoded.


That's not a question on the table - this is about dealing with tar
files others create.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.netbsd.tech.userlevel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Taylor R Campbell <riastradh@NetBSD.org> - 2026-08-24 12:42 +0000
  Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Thomas Klausner <wiz@netbsd.org> - 2026-08-24 14:55 +0200
    Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Martin Husemann <martin@duskware.de> - 2026-08-24 15:15 +0200
      Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Greg Troxel <gdt@lexort.com> - 2026-08-24 09:23 -0400
        Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Martin Husemann <martin@duskware.de> - 2026-08-24 15:57 +0200
          Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Mouse <mouse@Rodents-Montreal.ORG> - 2026-08-24 11:35 -0400
            Re: CVS commit: src/external/bsd/libarchive/dist/libarchive tlaronde@kergis.com - 2026-08-24 17:53 +0200
      Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Crystal Kolipe <kolipe.c@exoticsilicon.com> - 2026-08-24 13:46 +0000
    Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Mouse <mouse@Rodents-Montreal.ORG> - 2026-08-24 09:22 -0400
    Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Taylor R Campbell <riastradh@NetBSD.org> - 2026-08-24 14:01 +0000
      Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Thomas Klausner <wiz@netbsd.org> - 2026-08-24 16:23 +0200
        Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Taylor R Campbell <riastradh@NetBSD.org> - 2026-08-24 14:52 +0000
          Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Thomas Klausner <wiz@netbsd.org> - 2026-08-24 20:23 +0200
      Re: CVS commit: src/external/bsd/libarchive/dist/libarchive Taylor R Campbell <riastradh@NetBSD.org> - 2026-08-24 14:38 +0000

csiph-web