bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locale don't work for indent-2.2.10


From: Roumen Petrov
Subject: Re: locale don't work for indent-2.2.10
Date: Sun, 11 Apr 2010 19:01:43 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100403 SeaMonkey/2.0.4

Roumen Petrov wrote:
Hi all,

Function setlocale (file ./src/indent.c) is called when "#if defined
(HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES)".
As I could not found any m4-macro that test for LCCTYPES it seems to me
setlocale is called anymore and all translations stop to work.

Lets try to remove defined (HAVE_LCCTYPES) and to rebuild.

Now problem is by example that Cyrillic translations don't work as
expected. All Cyrillic characters are replaces by '?'. The gnutext
documentation sample use setlocale(LC_ALL, ... instead of
setlocale(LC_MESSAGES... . No idea where is problem.

Note in my environment indent is updated to gettext version 0.17 and
with this version translation of all other tested projects work well.
Also gettext use setlocale(LC_ALL,.. .

What about to remove defined (HAVE_LCCTYPES) and to use
setlocale(LC_ALL,. ?

Roumen

Today the above is reported again . Where is source repository ? I would like to prepare a patch to this issue .

Roumen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]