From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 22 13:01:30 2007 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4082816A4C9; Thu, 22 Mar 2007 13:01:30 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 2329513C4CB; Thu, 22 Mar 2007 13:01:28 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l2MD1Q78069807; Thu, 22 Mar 2007 16:01:26 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.8/8.13.8/Submit) id l2MD1Qi9069806; Thu, 22 Mar 2007 16:01:26 +0300 (MSK) (envelope-from ache) Date: Thu, 22 Mar 2007 16:01:26 +0300 From: Andrey Chernov To: Joe Marcus Clarke , ade@FreeBSD.org Message-ID: <20070322130126.GA69706@nagual.pp.ru> References: <20070320054916.GA33710@nagual.pp.ru> <1174453429.79605.28.camel@shumai.marcuscom.com> <20070322034618.GB16823@nagual.pp.ru> <20070322063737.GA56493@nagual.pp.ru> <1174545988.8269.15.camel@shumai.marcuscom.com> <20070322124305.GA69324@nagual.pp.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20070322124305.GA69324@nagual.pp.ru> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: gnome@FreeBSD.org Subject: Re: gettext problem (was Re: desktop-file-utils port problem) 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: Thu, 22 Mar 2007 13:01:30 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 22, 2007 at 03:43:05PM +0300, Andrey Chernov wrote: > There is still some undercover gettext problems remains although not=20 > fatal. > update-desktop-database -v > running with ru_RU.KOI8-R says at the end > Could not create cache file in directory '/usr/share/applications': > ????????? ?????? ??? ???????? ???????? "/usr/share/applications":= =20 > No such file or directory > Which with LANG=3DC means=20 > Could not create cache file in directory '/usr/share/applications': > Error opening directory '/usr/share/applications': No such file o= r=20 > directory > All those ???? means that locale is not initialized and those chars are= =20 > treated as non-printable. Compare with de_DE.ISO8859-1: Could not create cache file in directory '/usr/share/applications': Fehler beim ?ffnen des Verzeichnisses ?/usr/share/applications?: No= =20 such file or directory As you can see, only 8bit chars are affected and treated as non-printable= =20 (Russian ones all have 8bit) Besides from non-initialized locale (i.e. missing setlocale(LC_ALL,"") call= =20 somewhere) it can be due to conversion into UTF-8 new gettext attempt to=20 perform for some locales by criteria unknown. --=20 http://ache.pp.ru/ --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGAn4mVg5YK5ZEdN0RAvl2AKCgZlJIlh4piVjLqfp22DIqb1OuhQCfVO4F i9BdFpNjNbDxYDdmcs5cW7M= =6u1w -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--