in reply to Re^2: Problems with binary data in text documents
in thread Problems with binary data in text documents
Some relevant details...
If DOS/Windows encounters chr(26) in a text file, it considers that the end of the text file. binmode does not treat chr(26) specially. However, \r\n are not converted to \n in binmode. You may want to set $/ to "\015\012".
|
|---|