Hi,

can anybody tell me whether these two expressions have the same
meanings?

s = u'<unicode string here>'
s1 = s.encode('utf-8')

AND

s1 = unicode(s,'utf-8')

Thanks :)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to