Fix trailing whitespace
Ensure utf8 is enabled always