Set explicit file encoding in project preferences

The default value is different between windows & mac…