Hi, would anyone care to comment about this patch of mine -- https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1214889&group_id=5470 It makes file.encoding read-write and lets the write() and writelines() methods obey it. Reinhold -- Mail address is perfectly valid!