From 93b906a5f2b2f53cf63b54c95561955e913cb7e5 Mon Sep 17 00:00:00 2001 From: Martin Teichmann <martin.teichmann@xfel.eu> Date: Wed, 20 Dec 2023 18:14:20 +0000 Subject: [PATCH] data in terminals is in latin1 encoded German --- ebpfcat/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebpfcat/scripts.py b/ebpfcat/scripts.py index a0ec667..7b2de85 100644 --- a/ebpfcat/scripts.py +++ b/ebpfcat/scripts.py @@ -65,7 +65,7 @@ async def info(): infos = t.eeprom[10] i = 1 while i < len(infos): - print(infos[i+1 : i+infos[i]+1].decode("ascii")) + print(infos[i+1 : i+infos[i]+1].decode("latin1")) i += infos[i] + 1 if args.eeprom: -- GitLab