Thursday, June 30, 2011

utf-8 encoded files in python

From this PeP:

Adding a line that looks like:

# This Python file uses the following encoding: utf-8

Is sufficient to avoid the

no encoding declared; see http://www.python.org/peps/pep-0263.html for details

error

No comments:

Post a Comment