From e83ea10fe492dc216c013ac82ab67c113f42329d Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 27 Sep 2011 14:14:33 +0100 Subject: [PATCH] Better unicode support --- debian/changelog | 6 ++++++ usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 23e2230..8a079b9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mintmenu (5.2.4) katya; urgency=low + + * Improvements in Unicode support + + -- Clement Lefebvre Tue, 27 Sep 2011 14:14:00 +0000 + mintmenu (5.2.3) katya; urgency=low * Fix for applications with no comments/generic_names in favorites diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index e3f0452..e0e9840 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -344,7 +344,7 @@ class ApplicationLauncher( easyButton ): def strip_accents(self, string): import unicodedata - return unicodedata.normalize('NFKD', unicode(string)).encode('ASCII', 'ignore') + return unicodedata.normalize('NFKD', unicode(string)).encode('UTF8', 'ignore') def getTooltip( self ):