Wrong MIME type por ISO-8859 text

Bug #15246 reported by Alvaro del Castillo
20
Affects Status Importance Assigned to Milestone
GnomeVFS
Expired
Medium
gnome-vfs2 (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

The files of type "ISO-8859 text" are classified in the mime system as
application/octect-stream.
To reproduce the bug open a file with gedit and save it as ISO-8859-15. Then try to
open with nautilus the file or select the file with nautilus and using the right
mouse
button, select from the menu properties to see the mime type.

Checked in one fresh installation of Ubuntu Hoary and in a installation but with
a shared "/home".

http://bugzilla.gnome.org/show_bug.cgi?id=300248: http://bugzilla.gnome.org/show_bug.cgi?id=300248

Revision history for this message
Alvaro del Castillo (acs) wrote :

More useful info thanks to mr. perelló:

acs@amigo:~/devel/software/ensayos-aenor$ gnomevfs-info /tmp/kk

Name : kk
Type : Regular
MIME type : application/octet-stream

acs@amigo:~/devel/software/ensayos-aenor$ file /tmp/kk
/tmp/kk: ISO-8859 text

Revision history for this message
Alvaro del Castillo (acs) wrote :

Created an attachment (id=2079)
Testcase for the file and mime detection

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

The problem seems to come from the 'ñ' character.

Getting an ISO-8859-15 version of a file with that character gives you this
error. (I got it with recode and gedit and both failed)

Also, if the file is renamed to have the .txt extension, it works.

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's a gnomevfs issue, I've opened a bug upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=300248

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 21393 has been marked as a duplicate of this bug. ***

Changed in gnome-vfs2:
assignee: seb128 → desktop-bugs
status: Unconfirmed → Confirmed
Changed in gnome-vfs:
status: Unconfirmed → Confirmed
Changed in gnome-vfs2:
status: Confirmed → Triaged
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

This isn't an issue anymore on a fresh install of 8.10. Both filetypes, with and without the fancy characters, are recognized as text/plain. I guess this is closable?

Changed in gnome-vfs2:
status: Triaged → Invalid
Changed in gnome-vfs:
status: Confirmed → Incomplete
Changed in gnome-vfs:
status: Incomplete → Invalid
Changed in gnome-vfs:
importance: Unknown → Medium
status: Invalid → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.