mozilla question

mozilla question

Post by James W. Haefne » Thu, 13 Dec 2001 01:44:00



I know there are many mozilla/netscape groups, but I can't find this
question addressed.
I have mozilla 0.9.6.  When I receive an attachment of C code from a
Windows user, the file
uses CR/LF line terminators.  Mozilla does not interpret this as text,
but instead as:
application/octet-stream.  I know this means it can't figure out what it
is and assumes a binary format.  Does anyone know how to get mozilla to
accept DOS line terminators?

Jim Haefner
--
James W. Haefner            

Utah State University   Voice: 435-797-3553
Logan, UT 84322-5305      Fax: 435-797-1575

 
 
 

mozilla question

Post by James Hurs » Thu, 13 Dec 2001 13:15:52



> I know there are many mozilla/netscape groups, but I can't find this
> question addressed.
> I have mozilla 0.9.6.  When I receive an attachment of C code from a
> Windows user, the file
> uses CR/LF line terminators.  Mozilla does not interpret this as text,
> but instead as:
> application/octet-stream.  I know this means it can't figure out what it
> is and assumes a binary format.  Does anyone know how to get mozilla to
> accept DOS line terminators?

> Jim Haefner
> --
> James W. Haefner

> Utah State University   Voice: 435-797-3553
> Logan, UT 84322-5305      Fax: 435-797-1575

The simplest answer is to set your preferences [prefences > navigator >
applications >...] to download whatever it calls it, and use any number
of good Linux editors to remove the excess <cr> from each line. Some
will allow you to put it back in when you send it off; for example, in
"joe" the console editor, you invoke it with the -crlf switch.

Ed