Marc 'BlackJack' Rintsch bj_666 at
Thu Nov 30 14:47:48 CET 2006

In <ekmmu4$8ii$1 at>, Laurent Pointal wrote:

> Roberto Bonvallet a écrit :
>> # vim: set fileencoding=utf-8 :
> ...
>> # -*- coding: utf-8 -*-
> ...
>> About changing the shebang line:  I'll take it as a bug.
>> About changing the encoding declaration from vim-style to emacs-style:
>> I'll take it as an insult :)
> This is not "emacs-style", this is Python normalized source encoding
> directive for correct interpretation of u"..." strings by Python
> interpreter.
> See

Where does it say it has to be emacs-style?  It just uses that style as
example as far as I can see.  The real definition is a regexp:


So the vim-style is fine.  No need to replace it.

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list