Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 16:01:26 +0300
From:      Andrey Chernov <ache@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>, ade@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: gettext problem (was Re: desktop-file-utils port problem)
Message-ID:  <20070322130126.GA69706@nagual.pp.ru>
In-Reply-To: <20070322124305.GA69324@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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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