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

Re: UPDATE: net/irssi-0.8.10



On Sun, Jan 29, 2006 at 02:27:06PM +0200, Antti Harri wrote:
> 
> On Sun, 29 Jan 2006, viq wrote:
> 
> >I think I found where such autoconfiguration is done:
> >src/fe-common/core/fe-common-core.c line 178 and few following. At least it
> [snip]
> 
> I looked at it and there was a call to nl_langinfo().
> I wrote a test program to see what it outputs, here
> are there results:
> 
> iku_(_at_)_openbsd:~/src$ cat test.c
> #include <nl_types.h>
> #include <langinfo.h>
> #include <stdio.h>
> 
> int main (void)
> {
>         printf ("%s\n", nl_langinfo(CODESET));
>         return 0;
> }
> iku_(_at_)_openbsd:~/src$ ./test
> 646
> 
> 
> iku_(_at_)_kameli:~/src$ ./test
> ANSI_X3.4-1968
> iku_(_at_)_kameli:~/src$ uname
> Linux
> 
> So it seems to me Irssi functions as it is supposed to,
> but nl_langinfo seems to give results that don't work with it.
> I don't have enough programming skills to continue either
> but maybe someone else has :-)

http://marc.theaimsgroup.com/l=openbsd-ports&m=113384927704993&w=2

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>