Re: PEP 8: Byte Order Mark (BOM) vs coding cookie

2008-08-24 Thread Terry Reedy
twyk wrote: PEP 8 says ... Files using ASCII (or UTF-8, for Python 3.0) should not have a coding cookie. What about a BOM (Byte Order Mark)? Per Wikipedia ... http://en.wikipedia.org/wiki/Byte-order_mark#endnote_UTF-8) 'In UTF-8, this is not really a "byte order" mark. It identifies the

Re: PEP 8: Byte Order Mark (BOM) vs coding cookie

2008-08-24 Thread Marc 'BlackJack' Rintsch
On Sun, 24 Aug 2008 07:28:53 -0700, twyk wrote: > So is it good style to omit the BOM in UTF-8 for Python 3.0? I'd say yes because it is unnecessary with UTF-8 and it messes up the she- bang line of scripts. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python