m-ryan/magic_encoding — pull request #6 by elitau (2012-04-11 08:02:12+00:00)
Title: Add encoding comment only if files syntax is not ok

As discussed in this Stack Overflow [article](http://stackoverflow.com/questions/3291017/how-can-i-avoid-putting-the-magic-encoding-comment-on-top-of-every-utf-8-file-in) it is not best practice to put the encoding comment in each file, but only where it is needed. So here I skip adding of the comment if the files syntax is correct.