[Python-Dev] PEP: Defining Python Source Code Encodings
Michael Hudson
mwh at python.net
Tue Jul 17 11:14:11 EDT 2001
"M.-A. Lemburg" <mal at lemburg.com> writes:
> - which format to use for the magic comment, e.g.
>
> * Emacs style:
>
> #!/usr/bin/python
> # -*- encoding = 'utf-8' -*-
Emacs already has a name for this; you'd write that
# -*- coding: utf-8; -*-
Seems reasonable to me.
Cheers,
M.
--
We've had a lot of problems going from glibc 2.0 to glibc 2.1.
People claim binary compatibility. Except for functions they
don't like. -- Peter Van Eynde, comp.lang.lisp
More information about the Python-list
mailing list