fix utf-8 bug in feature window. fixes #3580

This commit is contained in:
Yann Leboulanger 2007-11-24 19:00:10 +00:00
parent 4442098276
commit 4a711a7542
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class FeaturesWindow:
selection = widget.get_selection() selection = widget.get_selection()
path = selection.get_selected_rows()[1][0] path = selection.get_selected_rows()[1][0]
available = self.model[path][1] available = self.model[path][1]
feature = self.model[path][0] feature = self.model[path][0].decode('utf-8')
text = self.features[feature][1] + '\n' text = self.features[feature][1] + '\n'
if os.name == 'nt': if os.name == 'nt':
text = text + self.features[feature][3] text = text + self.features[feature][3]