[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem transferring AOL/iMac text files to Apple II
Jonathan Schattke wrote:
>
> 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.
A Mac is an Apple; no problems there.
> 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).
Right. If they are in the EBCDIC chracter set, they need more than a
CR conversion. And of course there's the other character sets as well
(Windows, OEM/MS-DOS), and the text may have gone through a
translation filter already on its way from the host computer to
yours, or through two or three filters, or through the wrong filter...
Maybe someone should write a program that can look at a text file,
guess what character set it is in (based on the frequence of each
character) and translate it into something readable. And repair the
CRs as well. And maybe remove soft carriage returns.
--
Groetjes, Pim
To send me e-mail, insert a t right before the dot.
Which reminds me, I'd better get on with... IT!