In Windows, by default the EOL Character is "\r\n
". But I have to change the EOL Character as "\n
".
How can I convert the string from windows format to UNIX format?
This is the string which I am sending from windows to unix server.
ASPII90 ASPII90 dsascot 00000066YHDASCDRCD\t0700\t9\tASPII90\tA2185\t1234\n YRQ\t\t\t000415832\n YTRENDDRCD\t3\n
But in server, each \n is converted into whitespace followed by "\".(i.e)
YHDASCDRON>0400>9>ASPII90>A2185>128 \