From a8666e150885f6f331a9136981cb34e4271c0675 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 3 Dec 2007 18:53:24 +0000
Subject: [PATCH] correctly decode utf-8 names in history window. fixes #3552

---
 src/history_window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/history_window.py b/src/history_window.py
index ec85fa1029..45d6f68c69 100644
--- a/src/history_window.py
+++ b/src/history_window.py
@@ -155,7 +155,7 @@ class HistoryWindow:
 		self.window.destroy()
 
 	def on_jid_entry_activate(self, widget):
-		self.jid = self.jid_entry.get_text()
+		self.jid = self.jid_entry.get_text().decode('utf-8')
 		
 		if self.completion_dict.has_key(self.jid): # a full qualified jid or a contact name was entered
 			contact = self.completion_dict[self.jid]
-- 
GitLab