How to convert Windows end of line in Unix end of line (CR/LF to LF)

后端 未结 8 780
臣服心动
臣服心动 2020-11-29 18:59

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.

To convert to UTF-8

8条回答
  •  清歌不尽
    2020-11-29 19:30

    In order to overcome

    Ambiguous output in step `CR-LF..data'
    

    simply solution might be to add -f flag to force conversion.

提交回复
热议问题