Hi,
Today i tested u=unicode(str,'utf-8') and u=str.decode('utf-8'). Then in both
case I used:
if isinstance(u,str):
print "just string"
else:
print "unicode"
the result of both case are "unicode". So it seems u=unicode(str,'utf-8') and
u=str.decode('utf-8') are the same. How about the processing inside? is it
same?
Phon
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
