[mew-int 00920] Re: How to add the jar mime-type?

Arnaud Vandyck arnaud.vandyck at example.com
Thu Jun 20 23:28:47 JST 2002


Kazu Yamamoto (山本和彦) <kazu at example.com> wrote:

> From: Arnaud Vandyck <arnaud.vandyck at example.com>
> Subject: [mew-int 00902] How to add the jar mime-type?
> 
> > I wanted to send a jar file and mew automatically set the mime-type to
> > text/plain. It is a kind of zip/tar file. I noticed I can change the
> > mime-type quite easily, but I was wondering if it is possible to
> > modify the defaults and add a jar mime-type?
> 
> What media type is official for "jar"?
> 
> I have checked 
> 	http://www.iana.org/assignments/media-types/index.html
> but I could not find any media type name for "jar".

Sorry, I do not know.
If found this:
application/java-archive                jar
application/java-serialized-object      ser
application/java-vm                     class 

http://www.sfsu.edu/training/mimetype.htm
But don't think it's a standard...

> P.S.
> 
> If Application/Octet-Stream is suitable for "jar" AND if you would
> like to set the media type that a file's suffix is unknown to
> Application/Octet-Stream, put the following to ~/.mew.el.
> 
> 	(setq mew-content-type mew-ct-apo)

Well... .java files are not known and are Text.

Thank you anyway. If it's not a kind of standard, it is not necessary
to change anything to mew, I'll simply 't' to toggle to binary :-)

Thank you for your time,

-- arnaud :: http://vbstefi60.fapse.ulg.ac.be/~arnaud/



More information about the Mew-int mailing list