<<< Date Index >>>     <<< Thread Index >>>

Re: national chars - libiconv not used?



 On Monday, June 12, 2006 at 13:50:24 +0200, Michal Hajek wrote:

> Alain Bench wrote:
>> You would see an uppercase accented U here: "é" (really an e acute).
> I do not see it correctly

    What do you see?


> --with-libiconv-prefix=/usr/local/lib

    If you omit this, libiconv is still found? Is it linked?


    [LANG=cs_CZ.IBM-852]
> locale charmaps: "charmaps/IBM852.cm"
> mutt: charset="roman8"

    Could you please pick 2 or 3 standard locales available in the
"locale -a" list, say cs_CZ, en_US, and en_US.UTF-8, export LC_ALL=each
one in turn, and report: "locale charmap" at shell, and
":set &charset ?charset" in Mutt? After the check, unset LC_ALL, and do
not set it again in any startup scripts (LANG suffices).

| for loc in cs_CZ en_US en_US.UTF-8
| do
|   echo $loc
|   export LC_ALL=$loc
|   locale charmap
|   mutt -nF /dev/null -D | grep ^charset
| done
| unset LC_ALL


>| set charset="IBM852"

    Pick your system iconv command (not /usr/local/bin/iconv), and try:

| $ printf "Ren\xC3\xA9\n" | /usr/bin/iconv -f utf-8 -t ibm852
| René
| $ printf "Ren\xC3\xA9\n" | /usr/bin/iconv -f utf-8
| René
| $ printf "Ren\xE9\n" | /usr/bin/iconv -f iso-8859-1 -t ibm852
| René
| $ printf "Ren\xE9\n" | /usr/bin/iconv -f iso-8859-2 -t ibm852
| René


Bye!    Alain.
-- 
Mutt muttrc tip to send mails in best adapted first necessary and sufficient
charset (version for East Europe Latin-2/CP-852/CP-1250 terminal users):
set 
send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:iso-8859-2:windows-1250:utf-8"