GNOME Bugzilla – Bug 544586
encoding detection issue
Last modified: 2009-06-11 09:24:11 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.
Created attachment 115196 [details] gvfsd log
Created attachment 115197 [details] Nautilus screenshot
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.
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.....
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.
Andreas, By the way it seems the improvements on encoding didn't fixed my problem, the same problem applies.
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 ***