>>>>> "martin" == martin f krafft <[EMAIL PROTECTED]> writes:

martin> what's your setting for the charset? mine is, in fact, auto...

I think I've figured it out.  If your charset is set to auto, it tries
to set the charset based on the mail's charset.  If the mail doesn't
specify a charset, the $charset variable is kept as auto.  Here's the
relevant lines in the script:

        if ($charset eq "auto" and $mail_charset) {
                $charset = get_charset($mail_charset);
        }

($mail_charset is the charset that muttprint finds in the mail, if it
finds one, get_charset returns the charset in a form suitable for
LaTeX.)

Later on, the script emits this line:

\\usepackage[$charset]{inputenc}

which I guess is where LaTeX seems to barf, since $charset is still set
to auto.

So I guess muttprint needs to guess at a charset when the mail doesn't
specify one.  Is there any reasonable default?  I guess since
get_charset defaults to latin1 if it finds a charset that it doesn't
understand, latin1 would be the most likely default.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: msg07674/pgp00000.pgp
Description: PGP signature

Reply via email to