HI! These both expressions are equivalent but which is faster or should be used for any reason?
u = unicode(s,'utf-8')
u = s.decode('utf-8') # looks nicer
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
HI! These both expressions are equivalent but which is faster or should be used for any reason?
u = unicode(s,'utf-8')
u = s.decode('utf-8') # looks nicer
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list