Otherwise read in the file 80 chars at a time with read() and scan the input for non-ascii characters. If you find, for example, 2 non ascii chars, read in two more chars (and check again for more non-ascii chars).
-imran
In reply to Re: Process input file
by CountOrlok
in thread Process input file
by icg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |