configure encoding to utf8 and change indent

utf-8 is now standard.

Changed tabbing and indentation. Configuration snippets are from simon