> ooops. I mean is that the same as print calling > u_str.encode(sys.stdout.encoding)?
Almost. It's rather u_str.encode(sys.stdout.encoding or sys.getdefaultencoding()) (in case sys.stdout.encoding isn't set) Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list