help-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Format of block output (-vR option) when non-ascii chars in filename


From: Swami Kevala
Subject: Re: Format of block output (-vR option) when non-ascii chars in filename
Date: Sun, 4 Jul 2021 11:05:00 +0530

Hi Sergey,

My locale is set to UTF-8 (on CentOS 7.7 system)

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

When I list files using ls --show-control-chars my terminal displays emoji characters properly


On Sun, 4 Jul 2021 at 00:27, Sergey Poznyakoff <gray@gnu.org.ua> wrote:
Swami Kevala <swami.kevala@ishafoundation.org> ha escrit:

> When non-ascii characters are used in the filename we observe that the
> characters are output in octal (escaped by a "\").

This happens only if tar is unable to represent the multibyte character
in the current charset.  E.g. you observe this behavior if the archive
containing filenames in UTF-8 is being listed on a terminal in C locale.

Regards,
Sergey


--
- 9442504660


https://isha.sadhguru.org/events/monthly/sadhguru-satsang?utm_campaign=fmf&utm_medium=email&utm_source=email_signature&utm_content=eng

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The Organisation accepts no liability for any damage caused by any virus transmitted by this email. www.ishafoundation.org
reply via email to

[Prev in Thread] Current Thread [Next in Thread]