Quote:> I can not configure mutt to work with our czech locales on hp-ux
> 10.20. [...] unix locale cs_CZ.IBM-852
Which libiconv do you use? The very new libiconv 1.8 needs to be
configured with "--enable-extra-encodings" to support CP852. Without it,
Mutt will show you raw chars as they are, without conversion. BTW I
tried here, and the spelling "IBM-852" was unknown to my iconv. It knows
this charset as 852 and aliases:
$ iconv -l | grep 852
852 CP852 IBM852 CSPCP852
Quote:> Some national chars [...] are rewritten as \octal.
Check your locale cs_CZ.IBM-852 really exist as declared, and works.
Perhaps using the little program checklocale.c found near end of page on
<URL:http://www.uni-ulm.de/~s_smasch/Locale/>. Especially the ??Setting
LC_CTYPE to its own value failed/succeeded.?? and ??Testing LC_CTYPE
with isprint():?? sections. In CP852, you should not have a single "#"
in the second half of the charset.
Quote:> What should I do to see czech chars in mutt ?
Normal settings could be:
set charset="cp852" # your terminal's charset, must be known by iconv
set locale="$LC_TIME" # or cs_CZ.IBM-852, or C, for localized or not date
For $send_charset I don't know: what do you use as interchange
charset? Latin-2? Windows-1250? Something else?
Quote:> Does anybody use mutt on hp-ux 10.20
Not me, but I hope something here will help you. A setup not too far
from yours works well here, but in CP850: Just to say it can be done.
Quote:> I use terminal emulation (text mode) under win32. Yes, the emulator
> can display czech characters correctly.
Which emulator exactly? Could it be replaced by PuTTY 0.52?
Quote:> subject is correctly encoded [...] but SOME characters even can not be
Replaced by dots or beeps? Typical of bad locales.
Quote:> SOME characters are displayed as numbers (eg. \233) in mutt
Bad locale. \233 is not a printable char in us-ascii or any ISO
locales. It is printable in CP852 though, and Mutt will print it once
your locale will say it to libc's isprint() function.
Quote:> Mutt does decoding(s) from 7bit coding to 8bit BUT it seems it does
> not translate code pages.
Typical of iconv problem. Either mail's charset or $charset in
muttrc unknown to iconv. Or also non MIME messages: AFAIK Mutt never
Well: I'm not sure, but I'd say you have 2 problems. :-(