Getting strange character output in PuTTY on one Ubuntu machine

Bo Berglund bo.berglund at gmail.com
Wed Jul 28 11:11:28 UTC 2021


On Wed, 28 Jul 2021 09:11:41 +0100, Peter Flynn <peter at silmaril.ie> wrote:

(Note: This is a reconstruction on how Peter's response would have looked
if he had sent it to the list rather than mail only to me.)

>>On Wed, 28 Jul 2021 10:25:27 +0200, Bo Berglund <bo.berglund at gmail.com> wrote:
>>
>>LC_NUMERIC="sv_SE.UTF-8"
>>

>Ah. Numeric is sv.SE so the thousands separator should render as a space, right? 
>Can you capture that output from an update you quoted and paste it into a 
>hex editor and see what actual character it is?

So I opened a new connection to the bad machine and ran sudo apt update to get
the final report.

It showed up the boxes again since my config change apparently did not make it
to the PuTTY proper.

"Fetched 3?663 kB in 1s (2?835 kB/s)"

The two thousands separators show up as boxes in PuTTY and I copied that out
from PuTTY into Notepad++ and saved it to disk.

Then opened in HxD where I could find the hex code as:

3 663 = 33 E2 80 AF 36 36 33 20
2 835 = 32 E2 80 AF 38 33 35

So the thousands separator seems to have been set to Unicode(?) char E2 80 AF
whatever that might be...

But as I said changing the PuTTY font to Hack fixed the display problem for me.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list