Clean trailing whitespace and too long (per PEP8) lines.
Send CSS and templates as utf-8.
Set UTF8 encoding for QScintilla editor.