Date: Fri, 2 Sep 2005 15:42:28 +0200 From: Jean-Yves Lefort <jylefort@FreeBSD.org> To: Vladimir Grebenschikov <vova@sw.ru> Cc: freebsd-gnome@FreeBSD.org Subject: Re: How to setup nautilus translation tables for filenames ? Message-ID: <20050902154228.3b892ce8.jylefort@FreeBSD.org> In-Reply-To: <1125652609.1102.14.camel@localhost>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, 02 Sep 2005 13:16:49 +0400 Vladimir Grebenschikov <vova@sw.ru> wrote: > Environment: fresh Gnome-2.10 on fresh 7-CURRENT. > > I have some problems with such Russian file names in nautilus. > > Historically I am using koi8-r encoding for Russian filenames on > file-system. nautilus show these files right. (as well as UTF-8 based > files). > But when I create russian-named file from nautilus it create objects in > UTF-8 encoding. > > so problem a) How to setup default encoding for file-system object > creation in nautilus (and whole gnome) ? > > Problem b) when I open samba share in nautilus (as smb://server) Russian > names are shown in invalid encoding (not russian at all) > For mount_smbfs there is key -E=koi8-r:cp866 that fixes this problem, > but how to deal with smb:// > > % env | fgrep LANG > GDM_LANG=ru_RU.KOI8-R > LANG=ru_RU.KOI8-R > % I think "export G_FILENAME_ENCODING=@locale,CP866" will fix both problems. See http://developer.gnome.org/doc/API/2.0/glib/glib-running.html for details. -- Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDGFbEyzD7UaO4AGoRAmlWAJ9NUJ8pkkEp91uQ3j1y8SFtgS87uQCfUBEx gDrgn/BURBBZSEMMCxrBePo= =XQ0H -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050902154228.3b892ce8.jylefort>
