Aaron [SQL Server MVP] wrote on 03 jun 2004 in
microsoft.public.inetserver.asp.general:
Isn't a true carriage return + line feed represented as \r\n ?
Under jscript/ASP yes:
<%@Language=Jscript%>
<%
myCrLf = "\r\n"
Response.write(myCrLf.length) // 2
Response.write("<br>")
myLf = "\n"
Response.write(myLf.length) // 1
%>
======================
It could depend on the platform/OS used.
Perhaps some applications could use \n as crlf?
That's why I would play for sure, when I don't know the OS:
String.fromCharCode(10, 13)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)