added file encoding to compile task