The term CRLF refers to Carriage Return (ASCII 13, \r) Line Feed (ASCII 10, \n).For example: in Windows both a CR and LF are required to note the end of a line, whereas in Linux/UNIX an LF (\n) is only required.
Files can be converted from one to another using the .gsub formula.
If you are converting from Unix LF to Windows CRLF, the formula should be <file content>.gsub("\n","\r\n"). This solution assumes that the file does not yet have the Windows CRLF line endings. You can refer to the following screenshot, where the file is taken from Google Drive:
Conversely, if you would like to convert the file from Windows CRLF to Unix LF, the formula should be <file content>.gsub("\r\n","\n"). This solution assumes that the file does not yet have the Unix LF line endings. You can refer to the following screenshot:
If you still face issues, feel free to leave feedback on this support article or send us an email at support@workato.com.