[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: My Asimov and Cabi archives, and a great lil' Utility too!!
On Wed, 07 Jul 1999 18:28:40 GMT, glue@apple2.com (Glue Sniffin' Ed)
wrote:
>Also....found a great utility called 'uncook'. It basically takes any
>files that were mistakenly sent to you as 'text' files (improper MIME
>type settings under Apache, etc), and fixes them so they are Binary
>files. This seems to be a big problem with files received via http
>off some servers.
How exactly does it do this?
If I transfer a binary Apple II file from a unix system to a Windows
machine, all line feeds ($0A) get converted to carriage return/line
feed ($0D0A). However, if I transfer a binary Apple II file from a
Mac system to a Windows machine then all carriage returns ($0D) get
converted to carriage return/line feed ($0D0A). How does the program
know whether to convert $0D0A sequences to $0A or $0D?
+------------------------------------------------------------------------+
| Jeff Blakeney - Dean of the Apple II University in A2Pro on Delphi |
| Delphi Apple II Forums Web Pages |
| A2: http://www.delphi.com/apple2 A2Pro: http://www.delphi.com/a2pro |
+------------------------------------------------------------------------+
HyperCard IIgs course now in session in the A2Pro forum on Delphi
Learn to Program in GSoft BASIC course now in session