Better unicode support

This commit is contained in:
Clement Lefebvre 2011-09-27 14:14:33 +01:00
parent ece019fb61
commit e83ea10fe4
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.2.4) katya; urgency=low
* Improvements in Unicode support
-- Clement Lefebvre <root@linuxmint.com> 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

View File

@ -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 ):