Set urwid global encoding to UTF-8

so that many characters can be displayed
This commit is contained in:
Kai Zhang 2019-09-14 00:03:05 +02:00 committed by Ivan Habunek
parent d90cd5b0df
commit a76f4ae815
1 changed files with 2 additions and 0 deletions

View File

@ -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):