This is a simple script for adding/removing Python/Ruby file encoding headers. This is headers line
# -*- coding: utf-8 -*-
found as the first or second line in a file. The line informs both Python/Ruby and Emacs about the encoding used in the file.
Please open a pull request! Travis will test the code (including running it through pep8 and pyflakes) and let you know about the results. The test coverage will also be reported, please try to keep it as high as you found it.
The first version was written by Martin Geisler. See the commit log for details.
The clean headers script is licensed under the MIT license.