[Fedora-i18n-bugs] [Bug 668282] PackageKit yum backend uses incorrect encoding for dynamic category names, makes them show up with '?' characters in KPackageKit

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 20 13:03:28 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=668282

--- Comment #25 from Zdeněk Pavlas <zpavlas at redhat.com> 2011-10-20 09:03:27 EDT ---
> So it should mean we can return valid UTF8 by making it:
> name = _to_unicode(grp.nameByLang(self.lang))

nameByLang() returns unicode strings, so _to_unicode is a no-op here.
name.encode('UTF8') should return UTF8 encoded string.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list