After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544586 - encoding detection issue
encoding detection issue
Status: RESOLVED DUPLICATE of bug 554558
Product: gvfs
Classification: Core
Component: ftp backend
0.99.x
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-07-24 19:12 UTC by Baptiste Mille-Mathias
Modified: 2009-06-11 09:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
gvfsd log (8.51 KB, text/x-log)
2008-07-24 19:13 UTC, Baptiste Mille-Mathias
Details
Nautilus screenshot (56.60 KB, image/png)
2008-07-24 19:14 UTC, Baptiste Mille-Mathias
Details

Description Baptiste Mille-Mathias 2008-07-24 19:12:17 UTC
there is a FTP service on my set top box, and I saw Nautilus doesn't detect the encoding correctly, because the file "Arte - La cité des enfants perdus - 18-06-2008 14h50 2h10m.ts" is displayed "Arte - La cit� des enfants perdus - 18-06-2008 14h50 2h10m.ts (Bad encoding)".

So I assume there is something not working in the encoding detection.
I attach a gvfsd log.
Comment 1 Baptiste Mille-Mathias 2008-07-24 19:13:08 UTC
Created attachment 115196 [details]
gvfsd log
Comment 2 Baptiste Mille-Mathias 2008-07-24 19:14:01 UTC
Created attachment 115197 [details]
Nautilus screenshot
Comment 3 Baptiste Mille-Mathias 2008-07-24 19:24:14 UTC
I just realize gedit opens the gvfs log file with encoding ISO-8859-15 where it should be opened with utf-8; else you won't see the encoding errors, but others appear.
Comment 4 Andreas Henriksson 2008-12-05 15:42:28 UTC
gvfsd-ftp recently (gvfs >= 1.1.x) gained the possibility to tell the ftp server to use UTF8 encoding (if the server provides this feature).
Hopefully this should help.

The protocol doesn't provide any encoding information as far as I know, so if UTF8 is not available - all that remains is making a guess. Maybe someone is interested in making a good guessing algorithm, but I don't think it's worth it over just implementing the UTF8 feature in the server.....



Comment 5 Alexander Larsson 2009-03-06 12:38:21 UTC
Guessing is imho a bad idea. However we want to add per-mountspec preferences so that you can specify e.g. what filename encoding to use for a specific ftp server.
Comment 6 Baptiste Mille-Mathias 2009-03-21 20:53:12 UTC
Andreas, 

By the way it seems the improvements on encoding didn't fixed my problem, the same problem applies.
Comment 7 Benjamin Otte (Company) 2009-06-11 09:24:11 UTC
These two bugs are the same problem, so I'm randomly gonna pick one and mark it a duplicate.

*** This bug has been marked as a duplicate of 554558 ***