Am Sun, Jul 21, 2024 at 11:02:18PM GMT, schrieb cl...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to