Fixes encoding issues and added some stuff to .gitignore
Merge pull request #1 from uphpu/encoding_fixes

Fixes encoding issues and added some stuff to .gitignore