Re: [patch] [bug 432510] samba filename encoding on none UTF-8 locales

OK, it may be a better solution however may I ask some questions.

1. Can I access the source codes of gvfs? When do you think the release date?

2. Why do you think different encodings are needed per smb shares?
It seems the complicated usage for me because users hardly know which encoding is used currently. Normally sysadmins try to mount all smb dirs with same iocharset for general users and my understanding is that "mount" needs a privilege, i.e. general users cannot mount/umount smb dirs by themselves without privileges so I cannot imagine the necessity. My guess is that if nautilus could be launched
on different encodings between gnome-panel workspaces, it would be an option?

3. Even though gvfs will have the "mount" knowlege, It seems my patch doesn't conflict with the feature because users just can unset the env. What do you think?

if (is_gvfs) {
} else if (getenv ("foo")) {
  /* use client encoding */
} else {
  /* use UTF-8 */

Alexander Larsson wrote:
> On Mon, 2007-04-23 at 22:04 +0900, Takao Fujiwara - Tokyo S/W Center
> wrote:
>>OK, what about my patch? It means we have an option that samba URI can
>>be none UTF-8 in case users configure the environment parameter.
>>It looks like an easy way to show the same encoding between samba and
>>If it's not good, do you have any other ideas?
> What I don't like about it is that it applies one setting to *all* smb
> shares. But all smb shares are not the same, so if only some smb shares
> has this problem then you can't use the env-var solution.
> A better solution is to have different setting for this on each smb
> share. This is the solution i'm working towards in gvfs, which is to
> replace gnome-vfs. gvfs has an explicit knowledge of "mounts", so we can
> have per-mount settings like filename encoding.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a scarfaced misogynist cowboy on the edge. She's a beautiful kleptomaniac 
> former first lady on her way to prison for a murder she didn't commit. They 
> fight crime! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]