From a76f4ae815c0f8f82180a060af99b62c5d8392ff Mon Sep 17 00:00:00 2001 From: Kai Zhang Date: Sat, 14 Sep 2019 00:03:05 +0200 Subject: [PATCH] Set urwid global encoding to UTF-8 so that many characters can be displayed --- toot/tui/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toot/tui/app.py b/toot/tui/app.py index fbd58e7..d7aa3a2 100644 --- a/toot/tui/app.py +++ b/toot/tui/app.py @@ -15,6 +15,8 @@ from .utils import show_media logger = logging.getLogger(__name__) +urwid.set_encoding('UTF-8') + class Header(urwid.WidgetWrap): def __init__(self, app, user):