Hi,
Am Dienstag, den 03.01.2006, 13:38 +0800 schrieb Shu Hung (Koala):
>
> VFS is set and mount by user. Different server ( e.g. FTP, SMB, WebDAV)
> may have different encoding but not all protocols have encoding
> information
> carried.
>
> I have setup a FTP server on my Windows with Filezilla Server. My
> Windows
> workstation uses big5 (Chinese Traditional) as default encoding. When
> I use
> VFS to mount it, I always get filenames like "This is My XXXXX.mpg
> (invalid unicode)"
> and I can do nothing on it.
I see
>
> I'm not sure if auto-detect is the best idea.
No.
> Encoding detection for Chinese
> characters always goes wrong. If I take my experience on browser,
> detection
> get wrong result 1 time out of 20. If auto-detection get me wrong,
> user will
> need a way to fix it.
Yes. I'm arguing that one should put a info file containing the encoding
on the FTP *server* instead and gnome-vfs should read that to find the
encoding.
i.e.
ftp server:
encoding.info
foo.txt
data.blabla
encoding.info containing the actual encoding to use.
>
> I think it is better to give user an "Advanced" option menu like
> Filezilla 3.
Did you see the output of "iconv -l" ? especially it's length (number of
encodings)
I've attached the "Charset" tab on Filezilla 3 site manager. The autodetection doesn't work yet but it is a good thing to try. I think it is good to have something like this on gnome-vfs.
> By default, VFS will autodetect the encoding of the filesystem. But
> user
> can, on other hand, set the default encoding of the filesystem to
> mount.
[...]
> If not, user should be able
> to fix it on GUI. I think an "Advanced Option" button and extra option
> dialog is useful in case.
I'd like the encoding to be specified on the ftp server instead (in an
extra file that is served)
>
>
> >
> > 1. agreement between menu icon reaction and desktop
> icon reaction
> > it is a little bit confuseing with the desktop icons
> and menu
> > icons. If you right click
> > the icon menu, the folder will show up. However, if
> you right
> > click the desktop icon,
> > it gives you a menu for properties and unmount. It
> would be
> > best if I can get the
> > menu for properties and unmount when I right click
> either one
> > icon.
>
> What do you mean? What menu icon? Where?
>
> In Gnome 2.12, there are 3 menu on the top-left corner: "Application",
> "Location"
> and "Settings". Creating a new VFS will automatically create an icon
> on "Location"
> menu and the destop. If you right click icon on "Location" menu, you
> will open
> the folder. If you right click the desktop menu, you will open an
> option menu right
> next to the icon.
yeah... true. That's because of the menu. Can be fixed though :)
>
>
> Yeah, admin setting, desireable. As a side note, having ~ 100
> volume
> desktop icons show up on the desktop of a storage area network
> is weird,
> believe me ;)
>
> I think it is best to put it in "Advanced Option" too.
>
>
>
> What menu is that?
>
> The menu that you'll get when you right click a desktop icon.
>
>
> > If so, right-clicking the icon on location menu
> would give a
> > menu with these options:
> > 1. Add this item to panel
> > 2. Add this item to desktop
> > 3. Unmount thie filesystem
> >
> What application?
>
> Gnome's "Location Menu"
Yeah, good idea
>
> > These are just my little wishes to VFS and I think most
> people would
> > be happy to see these.
>
> Well, first and foremost I'd like the underlying problems to
> be fixed.
> If that is not possible, I'd like workarounds for admin
> settings on the
> _server_ side be implemented and if that fails too, I'd like
> it to break
> really badly so the server author gets a lot of complaints and
> fixes the
> darn program :)
>
> cheers,
> Danny
>
> Encoding may be a problem of the FTP protocol itself. Unless FTP will
> have a big revolution over encoding,
> it is better to find other solution.
Like putting a file containing the encoding on the FTP server :)
>
> Thanks for reply
>
> Koala Yeung
>
cheers,
Danny
Attachment:
site_manager_1.JPG
Description: JPEG image