Article View: borland.public.jbuilder.java.language
Article #14682Re: Help needed with cross platform File types (emergency!)
From: Johan Forsberg
Date: Fri, 13 Aug 1999 00:00
Date: Fri, 13 Aug 1999 00:00
11 lines
1277 bytes
1277 bytes
David Graff <david.graff@iqxpert.com> skrev i diskussionsgruppsmeddelandet:37B08FB2.85E032AC@iqxpert.com... > the unix way of doing it would be to check the Magic number of the file. > Mac on the other hand probably does it the same way (magic number). > Windoze however bases all it's type information on extensions. The mac uses a four letter creator and a four letter type (ie. 'PAINT', 'PICT') which along with some other file info is stored in an information block which is not a part of the file proper... This leads to endless problems when transfering files from/to macs :-)
Technical Details
Message-ID:
<7p0iml$h8e2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7opf28$aak1@forums.borland.com> <37cc6506.323766979@90.0.0.40> <7oq0ip$al611@forums.borland.com> <37B08FB2.85E032AC@iqxpert.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,99c37293ba93bd21 X-Google-Attributes: gidf74b3,public From: "Johan Forsberg" <jfo@SPAM_SPAM_EGGS_SPAMstmf.se> Subject: Re: Help needed with cross platform File types (emergency!) Date: 1999/08/13 Message-ID: <7p0iml$h8e2@forums.borland.com> X-Deja-AN: 512175726 References: <7opf28$aak1@forums.borland.com> <37cc6506.323766979@90.0.0.40> <7oq0ip$al611@forums.borland.com> <37B08FB2.85E032AC@iqxpert.com> X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language