|
|
| No such thing as a small change | |
| PerlMonks |
Re: printing text to a file in binaryby TedPride (Priest) |
| on Jun 24, 2005 at 00:57 UTC ( [id://469600]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The text from the textarea probably does its line breaks with just \n, while your text editor (Notepad?) requires both \r\n. You should try removing all instances of \r and then replacing \n with \r\n. This will hopefully fix your problem.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||