digitalmars.D - MIME type for d-source files?
- Thomas Kuehne (4/4) Oct 08 2004 Hi,
- Helmut Leitner (9/17) Oct 08 2004 I'm no specialist on mime types, but this feels wrong intuitively.
- Thomas Kuehne (8/14) Oct 09 2004 I dissagree :)
- Thomas Kuehne (14/20) Oct 09 2004 I dissagree :)
- Alex Vincent (3/12) Oct 13 2004 There's nothing wrong with that particular content-type. I might prefer...
Hi, is there any mime type in common use for d-source files? If there isn't any, how about "text/x-d"? Thomas
Oct 08 2004
Thomas Kuehne wrote:Hi, is there any mime type in common use for d-source files? If there isn't any, how about "text/x-d"? ThomasI'm no specialist on mime types, but this feels wrong intuitively. Maybe text/plain;charset=utf-8 But there are specialists for Unicode/UTF issues here in this newsgroup, who will know what to use. -- Helmut Leitner leitner hls.via.at Graz, Austria www.hls-software.com
Oct 08 2004
Helmut Leitner schriebI dissagree :) 1) souce files can be utf-8/16/32. 2) As you can see in KDE/Gnome and e.g. http://oregonstate.edu/cws/tutorials/faq/mime-types.html this kind of definition is quite common (at least in the *nix world) for other programming languages: text/x-c++hdrtext/x-c++src text/x-java text/x-pascalThomasis there any mime type in common use for d-source files? If there isn't any, how about "text/x-d"?I'm no specialist on mime types, but this feels wrong intuitively. Maybe text/plain;charset=utf-8
Oct 09 2004
Helmut Leitner schriebI dissagree :) 1) souce files can be utf-8/16/32. 2) As you can see in KDE/Gnome and e.g. http://oregonstate.edu/cws/tutorials/faq/mime-types.html this kind of definition is quite common (at least in the *nix world) for other programming languages: text/x-c++hdr text/x-c++src text/x-java text/x-pascal 3) providing a mime type can be very usefull in automated environments (e.g version control or backup systems) Thomasis there any mime type in common use for d-source files? If there isn't any, how about "text/x-d"?I'm no specialist on mime types, but this feels wrong intuitively. Maybe text/plain;charset=utf-8
Oct 09 2004
Thomas Kuehne wrote:Hi, is there any mime type in common use for d-source files? If there isn't any, how about "text/x-d"? ThomasThere's nothing wrong with that particular content-type. I might prefer application/x-d, but that implies a working application, not source code.
Oct 13 2004