Hi, I'm looking for a way to encode an Unicode string to the default encoding for the output (console, file...). someunicodestring.encode('iso8859-1') works for a file (windows & unix) but gives ugly characters on a windows console. Thanks in advance --Gilles glenfant AT bigfoot DOT com