On 14 mar, 22:22, Guillermo <guillermo.lis...@googlemail.com> wrote: > > That is what happens: the file now starts with a BOM \xEB\xBB\xBF as > > you can see with a hex editor. > > Is this an enforced convention under Windows, then? My head's aching > after so much pulling at my hair, but I have the feeling that the > problem only arises when text travels through the dos console... > > Cheers, > Guillermo
search for BOM in wikipedia. There it talks about notepad behavior. ja -- http://mail.python.org/mailman/listinfo/python-list