Right now, Sage does not follow PEP 263 [1] very well when looking for encoding declarations in scripts. You could review #10440 and fix that:
http://trac.sagemath.org/sage_trac/ticket/10440 This affects things like SageTeX, in which we can't particularly guarantee that the first line will match the regex "^# -*- coding: utf-8 -*-". Thanks, Dan References: [1] http://www.python.org/dev/peps/pep-0263/ -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature