On Wed, 22 May 2002 16:44:34 +0100, Matt Patterson wrote: >How can I output a UTF-8 text file? (Or output UTF-8 strings to stdout,= >for that matter.) Two ways: Explicit: stream.write(u.encode('utf-8')) Implicit: Use codecs.lookup('utf-8') to get reader/writer wrappers, then= you say utf8_stdout =3D utf8_wrapper(sys.stdout) Ciao, J=FCrgen