Perl Monk, Perl Meditation | |
PerlMonks |
Re: Unicode problemby Errto (Vicar) |
on Aug 20, 2007 at 18:14 UTC ( [id://633896]=note: print w/replies, xml ) | Need Help?? |
The issue may have to do with the way newlines are handled in Windows. First see what happens if you read and write the entire file at once rather than line by line:
If that works fine, my theory is probably right. If you do still want to use line-by-line transfer, I believe you can add :unix to the layers on your open calls.
In Section
Seekers of Perl Wisdom
|
|