From 6db1e0b79c956e7e182c17c987c3ab8ac11b0ea0 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 19 May 2024 19:05:03 -0600 Subject: [PATCH] fix: Display unicode characters on some dialogs --- src/wxUI/dialogs/baseDialog.py | 2 +- src/wxUI/dialogs/mastodon/postDialogs.py | 1 + src/wxUI/dialogs/mastodon/updateProfile.py | 1 + src/wxUI/dialogs/userList.py | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wxUI/dialogs/baseDialog.py b/src/wxUI/dialogs/baseDialog.py index 20480d9e..ec124d1a 100644 --- a/src/wxUI/dialogs/baseDialog.py +++ b/src/wxUI/dialogs/baseDialog.py @@ -1,4 +1,4 @@ -from __future__ import unicode_literals +# -*- coding: utf-8 -*- import wx class BaseWXDialog(wx.Dialog): diff --git a/src/wxUI/dialogs/mastodon/postDialogs.py b/src/wxUI/dialogs/mastodon/postDialogs.py index 04a711b4..dd4695a9 100644 --- a/src/wxUI/dialogs/mastodon/postDialogs.py +++ b/src/wxUI/dialogs/mastodon/postDialogs.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import wx class Post(wx.Dialog): diff --git a/src/wxUI/dialogs/mastodon/updateProfile.py b/src/wxUI/dialogs/mastodon/updateProfile.py index 6b0ddd45..a2be41ae 100644 --- a/src/wxUI/dialogs/mastodon/updateProfile.py +++ b/src/wxUI/dialogs/mastodon/updateProfile.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import os import requests from io import BytesIO diff --git a/src/wxUI/dialogs/userList.py b/src/wxUI/dialogs/userList.py index 5a8b01c2..59252ea8 100644 --- a/src/wxUI/dialogs/userList.py +++ b/src/wxUI/dialogs/userList.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import wx class UserListDialog(wx.Dialog):