[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem transferring AOL/iMac text files to Apple II
Obsbedia2 wrote:
> I went to a University library and ran a computer search on some educational
> tests. The librarian told me that I could email the results to myself. Great,
> I said. Then I can get them on a real computer, my Apple IIe.
> I thought that a text file was a text file. I could accept the problem if none
> of the files could be read, but why can some be read? Of those that can't be
> read, some are larger and some are smaller than the files that are accessible.
Well, the Apple II uses a carriage return (0x0d) to indicate the end of a line.
The PC uses CR-LF (0x0d, 0x0a) to indicate a new line. Unix uses a newline
(0x0a). I'm not sure what the Mac uses.
Depending on the original source and the software it has passed through, the end
of line markers could be any of these (assuming they are ASCII, not EBCIDIC).
Use a sector editor such as Nybbles Away ][ to examine the file. If it is using
0x0a as the end of line, then you can change them to 0x0d by hand, or write a
program which reads the file byte by byte and changes them.
--
\ /\ / If you aren't happy,
VVizVVom - Wandering Kernel of Happiness it's not my fault.
~~~> homepage at http://pages.ripco.net/~wizwom/ <~~~