PEP-0263 and default encoding

John Roth newsgroups at jhrothjr.com
Tue Sep 30 18:45:34 EDT 2003


"Martin v. Löwis" <martin at v.loewis.de> wrote in message
news:m3k77qdkey.fsf at mira.informatik.hu-berlin.de...
> Klaus Alexander Seistrup <rasmus.klump at myorange.dk> writes:
>
>
> 2. You are writing new code, and you are annoyed by the encoding
>    declaration. Just save your code as UTF-8, using the UTF-8 BOM.

The problem with the UTF-8 BOM is that it precludes using the #! header
line under Linux/Unix. Otherwise, it's a great solution.

John Roth

>
> Regards,
> Martin






More information about the Python-list mailing list