Use cp1252 (Windows) as default encoding
Fixed some style issues