bug-gtypist
[Top][All Lists]
Advanced

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

Re: [bug-gtypist] ideas, implementations, patches.


From: Felix Natter
Subject: Re: [bug-gtypist] ideas, implementations, patches.
Date: Sun, 22 May 2016 10:20:00 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (gnu/linux)

clutton <address@hidden> writes:

> On Sat, 2016-05-14 at 16:21 +0200, Felix Natter wrote:
>> clutton <address@hidden> writes:
>
>
>> There is one thing we would really like to fix in auto*:
>> A gentoo user complained that if you disable Native Language
>> Support (--disable-nls), then not only translation support
>> is disabled, but UTF8 support is broken, too. See [2].
>> 
>> A patch for this would be very welcome! If you don't do it,
>> then I will do it.
>> 
>

hello clutton,

> it's probably here gtypist.c:
>
> #if defined(ENABLE_NLS) && defined(LC_ALL)
>   setlocale (LC_ALL, "");
>
> Moving setlocale one line up here should help, since as I understand we
> always need output for wide chars, with or without NLS.

Yes, definitely makes sense. I applied this, thank you:

2016-05-22 clutton <address@hidden>

        * gtypist.c: allow --disable-nls while still using (UTF-8-)locale
          (run setlocale even if !defined(ENABLE_NLS))


Cheers and Best Regards,
-- 
Felix Natter



reply via email to

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