Add encoding comment to source files

This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
This commit is contained in:
Zearin
2012-11-01 11:43:56 -04:00
parent c0ccafa7ec
commit 4c6a70c24a
109 changed files with 216 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net