Python unicode and Windows cmd.exe

Joaquin Abian gatoygata2 at
Sun Mar 14 22:25:12 CET 2010

On 14 mar, 22:22, Guillermo <guillermo.lis... at> 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.


More information about the Python-list mailing list