client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 682d8280b49b552ed0e2dc3e693b603117e6c5fd
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Aug 4 11:09:15 2010 +0200
618267 - all data in F12+ should be in unicode, lets decode it
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index 0168c71..359e1c0 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -548,7 +548,7 @@ def _encode_characters(*args):
for item in args:
item_type = type(item)
if item_type == StringType or item_type == UnicodeType:
- item = unicode(item, 'latin-1')
+ item = unicode(item, 'utf-8')
elif item_type == TupleType:
item = tuple(map(_encode_characters, item))
elif item_type == ListType:
Show replies by date