Corrected issues with text encoding, for pages using encoding other than UTF-8
Some fixes for .gitignore