1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

Hi!

I have just update my mutt-1.2.5i installation (with charmaps) to
1.3.23i. While everything else seems to work nicely, I have a problem
when displaying characters beyond ASCII.
I have installed libiconv-1.7.

When viewing Mails with foreign characters in it in a dtterm
(environment variable LANG=C.iso88591), umlauts etc are displayed
in numeric transcription (e.g. \360 instead of an a-umlaut).
When LANG is not being set, single character representation is chosen,
but the actual display does hardly match the correct character.
Setting iconv-hook following the example for HP-UX 10.20 does not make
a difference.

I could not find an explanation of the mechanisms in mutt/doc or the libiconv
distribution. How should this thing be set up?

Many thanks in advance,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 11:42:46 +0200, Lutz Jaenicke wrote:

When viewing Mails with foreign characters in it in a dtterm 
(environment variable LANG=C.iso88591), umlauts etc are displayed 
in numeric transcription (e.g. \360 instead of an a-umlaut). When 
LANG is not being set, single character representation is chosen, 
but the actual display does hardly match the correct character. 
Setting iconv-hook following the example for HP-UX 10.20 does not 
make a difference.

What does mutt set the $charset variable to?

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 12:31:59PM +0200, Thomas Roessler wrote:
 On 2001-10-18 11:42:46 +0200, Lutz Jaenicke wrote:
 
 When viewing Mails with foreign characters in it in a dtterm 
 (environment variable LANG=C.iso88591), umlauts etc are displayed 
 in numeric transcription (e.g. \360 instead of an a-umlaut). When 
 LANG is not being set, single character representation is chosen, 
 but the actual display does hardly match the correct character. 
 Setting iconv-hook following the example for HP-UX 10.20 does not 
 make a difference.
 
 What does mutt set the $charset variable to?

Is there a way to get the list of variables as currently set?
I did not find a command to get this list (mutt -v only delivers
the compile time options). In Muttrc it is not set (default shall
be ).

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread René Clerc

* Lutz Jaenicke [EMAIL PROTECTED] [18-10-2001 12:57]:

| Is there a way to get the list of variables as currently set?

I'm not sure whether you can get a list, but you can check a specific
variable by typing:

:set ?variable

So, in this case that would be :set ?charset

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

Toto, I have a feeling we're not in Kansas anymore.
-Dorothy

 PGP signature


Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 12:56:06 +0200, Lutz Jaenicke wrote:

Is there a way to get the list of variables as currently set? 

No.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/





Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 12:59:36PM +0200, Ren? Clerc wrote:
 * Lutz Jaenicke [EMAIL PROTECTED] [18-10-2001 12:57]:
 
 | Is there a way to get the list of variables as currently set?
 
 I'm not sure whether you can get a list, but you can check a specific
 variable by typing:
 
 :set ?variable
 
 So, in this case that would be :set ?charset

Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153

 PGP signature


Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 13:16:37 +0200, Lutz Jaenicke wrote:

Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8

Mh.  I don't understand why you are seeing the numerical 
representation with LANG=C.iso88591...

Please make sure that the following match:

- The character set of the screen font you use.
- The character set in the LANG and LC_CTYPE environment variables.
- Mutt's charset variable.
- The characters your keyboard sends through the terminal to mutt.

Once that's the case, everything should work nicely.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/

 PGP signature


Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 01:35:23PM +0200, Thomas Roessler wrote:
 On 2001-10-18 13:16:37 +0200, Lutz Jaenicke wrote:
 
 Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8
 
 Mh.  I don't understand why you are seeing the numerical 
 representation with LANG=C.iso88591...
 
 Please make sure that the following match:
 
 - The character set of the screen font you use.
 - The character set in the LANG and LC_CTYPE environment variables.
 - Mutt's charset variable.
 - The characters your keyboard sends through the terminal to mutt.
 
 Once that's the case, everything should work nicely.

Hmm. I have just recompiled mutt with --enable-locales-fix (as proposed in
http://www.math.fu-berlin.de/~guckes/mutt/#faqs) and it seems to
work now...

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153

 PGP signature