Subject: Re: IceWM 1.2.7 execution problem (iconv not up-to-date ?)
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/09/2004 16:36:50
On Tue, 6 Jan 2004, Jeremy C. Reed wrote:

> I haven't tried disabling nls or i18n yet.

Configuring with --disable-nls works too. But that is not what I want.

Setting LC_ALL (but not to "C") works like R. Braun said.

I added a printf() to see what the iconv_open() was using:

bigfour:/usr/pkgsrc/wm/icewm-gnome$ echo $LC_ALL
en_US.UTF-8

bigfour:/usr/pkgsrc/wm/icewm-gnome$ icewm
trying to UCS-4LE//TRANSLIT from UTF-8
trying to UTF-8//TRANSLIT from UCS-4LE//TRANSLIT
IceWM: using /home/reed/.icewm for private configuration files
IceWM: Another window manager already running, exiting...

bigfour:/usr/pkgsrc/wm/icewm-gnome$ LC_ALL="" icewm
trying to UCS-4LE//TRANSLIT from 646
trying to UCS-4LE from 646
IceWM: iconv doesn't supply (sufficient) 646 to Unicode converters.

bigfour:/usr/pkgsrc/wm/icewm-gnome$ LC_ALL="C" icewm
trying to UCS-4LE//TRANSLIT from 646
trying to UCS-4LE from 646
IceWM: iconv doesn't supply (sufficient) 646 to Unicode converters.

I read some postings that said 646 is plain ascii and probably shouldn't
be used in encoding. Does anyone know about this?


The configure output that is locale related:

checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking whether nl_langinfo supports CODESET... yes
checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether _libiconv_version is declared... yes
assuming iconv.h belongs to GNU libiconv
checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... yes
checking whether iconv converts from ISO-8859-2 to UCS-4//TRANSLIT... yes
checking whether iconv converts from KOI8-R to UCS-4//TRANSLIT... yes
checking whether iconv converts from EUC-JP to UCS-4//TRANSLIT... yes
checking whether iconv converts from BIG5 to UCS-4//TRANSLIT... yes
checking for bindtextdomain... no
checking for bindtextdomain in -lintl... yes
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt


   Jeremy C. Reed
   http://www.reedmedia.net/