On Sat, 2006-08-12 at 21:19 +0200, Redoute wrote:
> Hi
> 
> I have some questions regarding how MIME type detection in GNOME works
> in detail. I have read the specification from freedesktop.org.
> 
> How does GNOME decide if a given file is a text file? Why does GNOME
> identify this file as text/plain?
> 
> > [EMAIL PROTECTED]:~$ gnomevfs-info -s 0131sniff | grep MIME
> > MIME type         : text/plain
> 
> > [EMAIL PROTECTED]:~$ hd 0131sniff
> > 00000000  eb 00 90 28 4b 21 2b 6b  49 48 43 00 02 01 01 00  
> > |...(K!+kIHC.....|
> > 00000010  02 e0 00 40 0b f0 09 00  12 00 02 00 00 00 00 00  |[EMAIL 
> > PROTECTED]|
> > 00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
> > |................|
> > *
> > 000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00        |..............|
> > 000000fe

Thats very strange. Could you post the actual file you used?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a bookish pirate gentleman spy on the edge. She's an elegant 
belly-dancing wrestler from a family of eight older brothers. They fight 
crime! 

_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to