linux - How to convert Windows end of line in Unix end of line (CR/LF to LF)
I'm a Java developer and I'm using Ubuntu to develop. The project was created in Windows with Eclipse and it's using the Windows-1252 encoding.

There should be a program called dos2unix that will fix line endings for you.  If it's not already on your Linux box, it should be available via the package manager.
