Re: Help needed with a locale-related issue

2015-09-16 Thread Hleb Valoshka
On 9/16/15, Francesco Poli wrote: > I see that the forwarded report has been closed. I have a doubt, > though: would the patch fix the issue when LANGUAGE='it' LC_CTYPE=C ? LC_CTYPE should not affect message language, it affects sorting order. So the issue you've

Re: Help needed with a locale-related issue

2015-09-16 Thread Francesco Poli
On Wed, 16 Sep 2015 11:54:36 +0300 Hleb Valoshka wrote: [...] > it seems this particular issue needs additional care, maybe in > ruby-gettext, because GNU gettext with similar variables returns: > LANGUAGE='be_BY:be' LC_CTYPE='C' gettext 'celestia' "About Celestia" > ??? Celestia > while

Re: Help needed with a locale-related issue

2015-09-15 Thread Hleb Valoshka
On 9/14/15, Francesco Poli wrote: > Hence, it seems to me that the trouble is not caused by the original > string, but by those translated strings that include non-ASCII UTF-8 > characters and are somehow sent as non-UTF-8 non-pure-ASCII strings, > whenever LC_CTYPE=C

Re: Help needed with a locale-related issue

2015-09-15 Thread Francesco Poli
On Tue, 15 Sep 2015 12:10:52 +0300 Hleb Valoshka wrote: > On 9/14/15, Francesco Poli wrote: > > > Hence, it seems to me that the trouble is not caused by the original > > string, but by those translated strings that include non-ASCII UTF-8 > > characters and are

Re: Help needed with a locale-related issue

2015-09-14 Thread Hleb Valoshka
On 9/14/15, Hleb Valoshka <375...@gmail.com> wrote: > It looks like a ruby-gettext error, GNU gettext in such cases returns > original string (because LC_MESSAGES=C), but I should check docs for > gettext. ruby-locale, actually. Feel free to report bug against it.

Re: Help needed with a locale-related issue

2015-09-14 Thread Hleb Valoshka
On 9/1/15, Francesco Poli wrote: ... > But, if I try the following odd locale configuration (Italian language > with 'C' locale settings), I get a crash: > > $ LANGUAGE='it_IT:it' LC_ALL='C' locale > LANG=en_US.UTF-8 > LANGUAGE=it_IT:it > LC_CTYPE="C" >

Re: Help needed with a locale-related issue

2015-09-14 Thread Francesco Poli
On Mon, 14 Sep 2015 18:25:26 +0300 Hleb Valoshka wrote: > On 9/14/15, Hleb Valoshka <375...@gmail.com> wrote: > > > It looks like a ruby-gettext error, GNU gettext in such cases returns > > original string (because LC_MESSAGES=C), but I should check docs for > > gettext. > > ruby-locale,

Re: Help needed with a locale-related issue

2015-09-12 Thread Francesco Poli
On Tue, 1 Sep 2015 00:18:12 +0200 Francesco Poli wrote: > Hello all, > while testing some odd locale configurations with the package > I maintain (apt-listbugs), I stumbled upon an awkward crash. > I am seeking the help of some knowledgeable Ruby expert, to understand > what's going on. > > The

Help needed with a locale-related issue

2015-08-31 Thread Francesco Poli
Hello all, while testing some odd locale configurations with the package I maintain (apt-listbugs), I stumbled upon an awkward crash. I am seeking the help of some knowledgeable Ruby expert, to understand what's going on. The crash may be reproduced with apt-listbugs version 0.1.14 or later