Fix: encoding and windows EOL problem