Hi. I am using unicode encode method to write some accented chars to files (%s). Do I need to use the method "encode" always? Isn't there a general way to declare the encoding for the whole program? I have tried sys.setdefaultencoding but there was no such method ! Thanks for any help.