On 13-Jan-2002 Marc Wilson wrote:
> On Sun, Jan 13, 2002 at 10:14:39PM +0100, Vincenzo Colosimo wrote:
>> However, there may be obsolete, since i have changed the file 
>> blackbox-0.61.1/src/i18n.cc.
>> 
>> In the line 58 i've changed:
>> 
>>     locale = setlocale(LC_ALL, "");
>> 
>> to:  locale = setlocale(LC_ALL, "C");
>> 
>> After then all fonts are recognized. Maybe this is dump, but i'm not a
>> programmer and my computer didn't burst up in flames, so it works for me :-)
> 
> Is this local to blackbox, or are you changing the environment?  I went
> through considerable grief recently trying to get mutt to handle
> internationalization properly, and I wonder if this has something to do
> with it.
> 

that changes blackbox's locale and thus changes the locale of any program it
starts.  The only reason his hack affects the fonts at all is he changed the
code path he went through so that the XFontSet code was not used instad it
calls the older XFont routines which know nothing of i18n.

> 
> Where bin/launchmutt is:
> 
> $ cat bin/launchmutt
>#!/bin/bash
> LC_CTYPE=en_US mutt -y
> 
> Now I get proper internationalization.
> 

right, because aterm was not a login shell and thus your rc file was ignored.

If you simply launch a term and then run mutt by hand it would work fine.

> Serious kludge, but I partcipate in enough mailing lists where large
> numbers do NOT use ISO8859-1 that it becomes an issue.
> 

I bet.

Reply via email to