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


Groups > linux.debian.bugs.dist > #1205121

Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters

From David Kalnischkies <david@kalnischkies.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters
Date 2024-07-22 19:30 +0200
Message-ID <J351g-3XAr-7@gated-at.bofh.it> (permalink)
References <J2OjL-3NnG-3@gated-at.bofh.it> <J2OjL-3NnG-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am Sun, Jul 21, 2024 at 11:02:18PM GMT, schrieb cloos@jhcloos.com:
> it may occurr under any UTF-8 locale, but I only ever use en_US.UTF-8
> and more recently C.UTF-8, but I’ve not switched everything over yet.

You failed to mention what these "wrong characters" are…
perhaps with a copy&paste or a screenshot.


If APT runs with an UTF-8 codeset it now uses utf8 block characters,
if it isn't it falls back to the "old" style of using #.

The code is here:
https://salsa.debian.org/apt-team/apt/-/blob/main/apt-pkg/install-progress.cc?ref_type=heads#L346-367
The block characters are btw:
 ▏ ▎ ▍ ▌ ▋ ▊ ▉ █
as in: those chars including & following "U+2588 FULL BLOCK"

So, honestly, I don't see much opportunity for apt to be wrong here
and would guess its either your transit layers messing up or your
chosen font not supporting these characters; but I am happy to be
proven wrong given utf8 isn't my expertise.


Best regards

David Kalnischkies

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters cloos@jhcloos.com - 2024-07-22 01:40 +0200
  Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters David Kalnischkies <david@kalnischkies.de> - 2024-07-22 19:30 +0200
  Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters  cloos@jhcloos.com - 2024-07-22 22:50 +0200
  Bug#1076678: apt: as of the recent apt redo, progress bars on screen-on-urxvt in en_US.UTF-8 uses wrong characters cloos@jhcloos.com - 2024-07-26 00:00 +0200

csiph-web