Perhaps you're dealing with an operating system which cares about text files vs binary files, and is stripping the last three characters because it thinks you're in text mode. Try a binmode(FILE) immediately after your open, this should let you read all data (including line-breaks and end-of-file characters) without any interpretation going on.
Cheers,
Paul
In reply to Re: Special characters ignored
by pjf
in thread Special characters ignored
by tigervamp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |