[Roberto] > # vim: set fileencoding=utf-8 : > ... > # -*- coding: utf-8 -*- > ... > About changing the encoding declaration from vim-style to emacs-style: > I'll take it as an insult :)
[Laurent] > This is not "emacs-style", this is Python normalized source encoding > directive for correct interpretation of u"..." strings by Python > interpreter. So is "# vim: set fileencoding=utf-8". Anything matching "coding[:=]\s*([-\w.]+)" on the first or second line counts. > See http://www.python.org/dev/peps/pep-0263/ Yes, you should. 8-) -- Richie Hindle [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list