From 23cd025c3b1b178b3ad460f53fd4da88e6438f7b Mon Sep 17 00:00:00 2001 From: cidoku Date: Mon, 31 Mar 2025 15:42:23 -0300 Subject: [PATCH] fix music change when showname is unicode --- gameview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gameview.py b/gameview.py index 1a79689..369c53f 100644 --- a/gameview.py +++ b/gameview.py @@ -2325,7 +2325,7 @@ class GUI(QtGui.QWidget): def sendMC(self, content): if "cccc_ic_support" in self.features and self.showname: - self.tcp.send('MC#' + content + '#' + str(self.mychar) + '#' + self.showname + '#%') + self.tcp.send('MC#' + content + '#' + str(self.mychar) + '#' + self.showname.decode('utf-8') + '#%') else: self.tcp.send('MC#' + content + '#' + str(self.mychar) + '#%')