From 06cf27f6c4e69cc35fba369911567857b8f5803e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mateusz=20Bili=C5=84ski?= <mateusz.bilinski@gmail.com>
Date: Mon, 29 Jun 2009 06:31:36 +0200
Subject: [PATCH] Fixed bug when national character (non-ASCII) was entered
 which search string in ACE (comparison with descriptions, which are unicode,
 was not possible). It seems that this was Win32 specific (tested on Vista64).

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

diff --git a/src/advanced.py b/src/advanced.py
index d96e4ce925..74d9966da2 100644
--- a/src/advanced.py
+++ b/src/advanced.py
@@ -267,7 +267,7 @@ class AdvancedConfigurationWindow(object):
 				self.model.append(parent, [name, value, type_])
 
 	def visible_func(self, model, treeiter):
-		search_string  = self.entry.get_text().lower()
+		search_string  = self.entry.get_text().decode('utf-8').lower()
 		for it in tree_model_pre_order(model,treeiter):
 			if model[it][C_TYPE] != '':
 				opt_path = self.get_option_path(model, it)
-- 
GitLab