From f4780bac89a15d233c67a0b36f996cfe978ca1ef Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 27 Jul 2012 18:04:46 +0200 Subject: [PATCH] Add missing utf-8 decoding for buffer title --- src/qweechat/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qweechat/buffer.py b/src/qweechat/buffer.py index dd09dff..79a0e29 100644 --- a/src/qweechat/buffer.py +++ b/src/qweechat/buffer.py @@ -162,7 +162,7 @@ class Buffer(QtCore.QObject): def update_title(self): """Update title.""" try: - self.widget.set_title(color.remove(self.data['title'])) + self.widget.set_title(color.remove(self.data['title'].decode('utf-8'))) except: self.widget.set_title(None)