encoding and line endings