Hello Sven,

 On Sunday, October 13, 2002 at 12:52:14 AM +0200, Sven Guckes wrote:

> this iconv stuff just doesn't work on solaris.

    I don't understand the problem: Quick scanning your mails here since
July shows you sometimes quote and write accented chars correctly, and
sometimes not. Noted that's never good in your attribution lines, appart
this one for Ren‚ (hand typed e acute?). You use different builds of
Mutt, or different setups, right?


> i downloaded the latest iconv lib and installed it, recompiled mutt
> --with-iconv=$HOME

    That's not always enough on systems having their own integrated
iconv functions. Can you confirm it's linked with
$HOME/lib/libiconv.so.2 using something equivalent to ldd or chatr for
Solaris? Otherwise you could try to play with
"export LDFLAGS=-L$HOME/lib" before configure.

| $ ldd /usr/local/bin/mutt
|       libncurses.so.5 => /usr/local/lib/libncurses.so.5
|       libiconv.so.2 => /usr/local/lib/libiconv.so.2
|       libc.so.5 => /lib/libc.so.5


> but no go. this *really* bugs me, too... *grr*

    What's your terminal, it's charset, your $charset and locale?

    Here is a test CP-850 n tilde (164 A4): "¤"

    Please describe what you see in pager, and when piped to less. And
quote it back.


 On Sunday, October 13, 2002 at 1:12:59 AM +0200, Sven Guckes wrote:

> the solaris admin chose to install only the language stuff for "C" -
> and no others...

    You mean locale C/POSIX? This would be a problem too... But you can
install a private locale in $HOME: find source files (locales and
charsets), build a choosen one giving a destination in $HOME, and use it
in $LANG/$LC_* with absolute path. Like:

| $ localedef -i de_DE -f ISO-8859-1 $HOME/de_DE
| Computing table size for character classes might take a while... done
| Computing table size for collation information might take a while... done
|
| $ ls -ld $HOME/de_DE
| drwxr-xr-x   2 alain    alain        1024 Oct 15 02:21 /home/alain/de_DE/
|
| $ LC_ALL=$HOME/de_DE checklocale
|       [...]
| current settings:
| LC_ALL      = "/home/alain/de_DE"
| LANG        = "fr_FR.cp-1252@euro"
| LC_MESSAGES = "C"
| LC_COLLATE  = "C"
|
| Overriding all locale categories with LC_ALL succeeded.
|       [...snip perfect ISO isprint() table...]

    Note I cheated: A bug here (libc5) makes this doesn't work as
standard say. I had to use the relative path "../../..$HOME/de_DE"
really (3 levels up from /usr/share/locale).


Bye!    Alain.

Reply via email to