From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 2 13:42:31 2005 Return-Path: X-Original-To: freebsd-gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBCBC16A41F for ; Fri, 2 Sep 2005 13:42:31 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from 212.68.242.136.brutele.be (212.68.242.136.brutele.be [212.68.242.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D42043D5A for ; Fri, 2 Sep 2005 13:42:30 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id C7C5455B5; Fri, 2 Sep 2005 15:42:28 +0200 (CEST) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id 99BA5C495; Fri, 2 Sep 2005 15:42:28 +0200 (CEST) Date: Fri, 2 Sep 2005 15:42:28 +0200 From: Jean-Yves Lefort To: Vladimir Grebenschikov Message-Id: <20050902154228.3b892ce8.jylefort@FreeBSD.org> In-Reply-To: <1125652609.1102.14.camel@localhost> References: <1125652609.1102.14.camel@localhost> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__2_Sep_2005_15_42_28_+0200_xvS+77.EfZ0T+Pq." Cc: freebsd-gnome@FreeBSD.org Subject: Re: How to setup nautilus translation tables for filenames ? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 13:42:31 -0000 --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 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.--