[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] The 10<E2><81><B9> git-log question
From: |
Greg Chicares |
Subject: |
[lmi] The 10<E2><81><B9> git-log question |
Date: |
Fri, 9 Mar 2018 03:17:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
This is the 21st century, and utf-8 should just work. However:
$git log 7721184c8
commit 7721184c8f9da6a63effb816fbd29d92e6c8a5a1
Author: Vadim Zeitlin <address@hidden>
Date: 2018-03-08T23:50:08+00:00
Allocate more space for illustration table columns
"Premium Outlay" column needs to be wide enough to show numbers up to
10<E2><81><B9> but was only wide enough for up to 10<E2><81><B6>, resulting
in overlapping
with the numbers in the neighbouring columns.
Are we really supposed to have to do the following (or export
that variable in a shell startup file...or configure git's
'i18n.logOutputEncoding')?
$LESSCHARSET=utf-8 git log 7721184c8
commit 7721184c8f9da6a63effb816fbd29d92e6c8a5a1
Author: Vadim Zeitlin <address@hidden>
Date: 2018-03-08T23:50:08+00:00
Allocate more space for illustration table columns
"Premium Outlay" column needs to be wide enough to show numbers up to
10⁹ but was only wide enough for up to 10⁶, resulting in overlapping
with the numbers in the neighbouring columns.
Shouldn't 'less':
$less --version
less 487 (GNU regular expressions)
be able to figure that out? Because I'm sure my locale is utf-8:
$locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_DK.UTF-8
LC_COLLATE=C.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=
The "Cannot set..." messages are new in "buster". I'm guessing
that they're a schroot issue, because my notes say:
| neither the chroot's nor the host's /etc/default/locale is
| sourced by schroot, which strives to set as few environment
| variables as possible.
- [lmi] The 10<E2><81><B9> git-log question,
Greg Chicares <=