slloyd has asked for the wisdom of the Perl Monks concerning the following question:
I also triedprint FH "This is a line\r\n";
But when I open this up in Crimson Editor it looks like the \n is not getting interpreted as a line feed. At least there are unknown characters at the end of each line. Does anyone know what happeded in Windows XP SP2 that could have caused this. I found the following reference to a telnet bug that was supposedly addressed in SP2 Here. Is this the culprit? Any ideas on how to resolve this issue?my $crlf="\015\012"; print FH "This is a line",$crlf;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CRLF and Windows XP SP2
by sk (Curate) on Aug 12, 2005 at 18:20 UTC | |
by slloyd (Hermit) on Aug 12, 2005 at 18:47 UTC | |
by Util (Priest) on Aug 12, 2005 at 19:44 UTC | |
by sgifford (Prior) on Aug 12, 2005 at 19:55 UTC | |
|
Re: CRLF and Windows XP SP2
by runrig (Abbot) on Aug 12, 2005 at 19:45 UTC | |
|
Re: CRLF and Windows XP SP2
by planetscape (Chancellor) on Aug 12, 2005 at 23:12 UTC |