Skip site navigation (1)Skip section navigation (2)
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>
References:  <1125652609.1102.14.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__2_Sep_2005_15_42_28_+0200_xvS+77.EfZ0T+Pq.
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, 02 Sep 2005 13:16:49 +0400
Vladimir Grebenschikov <vova@sw.ru> wrote:

> Environment: fresh Gnome-2.10 on fresh 7-CURRENT.
>=20
> I have some problems with such Russian file names in nautilus.
>=20
> 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.
>=20
> so problem a) How to setup default encoding for file-system object
> creation in nautilus (and whole gnome) ?
>=20
> 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=3Dkoi8-r:cp866 that fixes this problem,
> but how to deal with smb://
>=20
> %  env | fgrep LANG
> GDM_LANG=3Dru_RU.KOI8-R
> LANG=3Dru_RU.KOI8-R
> %

I think "export G_FILENAME_ENCODING=3D@locale,CP866" will fix both problems.

See http://developer.gnome.org/doc/API/2.0/glib/glib-running.html for detai=
ls.

--=20
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Fri__2_Sep_2005_15_42_28_+0200_xvS+77.EfZ0T+Pq.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDGFbEyzD7UaO4AGoRAmlWAJ9NUJ8pkkEp91uQ3j1y8SFtgS87uQCfUBEx
gDrgn/BURBBZSEMMCxrBePo=
=XQ0H
-----END PGP SIGNATURE-----

--Signature=_Fri__2_Sep_2005_15_42_28_+0200_xvS+77.EfZ0T+Pq.--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050902154228.3b892ce8.jylefort>