file encoding, new tab chars, delete trailing spaces