The problem is that the code tries to convert a string that's already Unicode to Unicode.
Proposed fix: Change the function utf8 in DistUpgradeViewKDE.py to something like this:
def utf8(str): if isinstance(str, unicode): return str return unicode(str, 'UTF-8')
The problem is that the code tries to convert a string that's already Unicode to Unicode.
Proposed fix: KDE.py to something like this:
Change the function utf8 in DistUpgradeView
def utf8(str):
if isinstance(str, unicode):
return str
return unicode(str, 'UTF-8')