From 4a711a7542f1c983a757e1310902ef43f5a80826 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 24 Nov 2007 19:00:10 +0000 Subject: [PATCH] fix utf-8 bug in feature window. fixes #3580 --- src/features_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features_window.py b/src/features_window.py index a20083297..507efec11 100644 --- a/src/features_window.py +++ b/src/features_window.py @@ -143,7 +143,7 @@ class FeaturesWindow: selection = widget.get_selection() path = selection.get_selected_rows()[1][0] available = self.model[path][1] - feature = self.model[path][0] + feature = self.model[path][0].decode('utf-8') text = self.features[feature][1] + '\n' if os.name == 'nt': text = text + self.features[feature][3]