That makes no sense. Nothing in the snippet I posted will care, or even notice whether there is an '0a' character in the data it is processing.
The only time characters get 'converted' is of the file is read with CRLF translation in effect, which it won't be if you have binmoded the file as you did in the OP (and as I mentioned above.
In reply to Re^3: Convert binary file to ascii
by BrowserUk
in thread Convert binary file to ascii
by richz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |