From 504399c62e0a8ff950c5e3704f8a901906844ba8 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Fri, 22 May 2020 21:26:18 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20UTF=20encoding=20for=20=C2=B2=20character?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wireviz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wireviz.py b/src/wireviz.py index 511bfa6..0f7f81a 100644 --- a/src/wireviz.py +++ b/src/wireviz.py @@ -223,7 +223,7 @@ class Cable: if self.mm2 is not None: e = awg_equiv(self.mm2) es = ' ({} AWG)'.format(e) if e is not None else '' - mm ='{} mm²{}'.format(self.mm2, es) + mm ='{} mm\u00B2{}'.format(self.mm2, es) l.append(mm) if self.awg is not None: l.append('{} AWG'.format(self.awg))