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

Re: charsets



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, May 15 at 09:47 AM, quoth gerases@xxxxxxxxxxxxxxxxxxxxx:
>> Do this: charset-hook iso-8859-1 cp1251
>
> Very cool. Worked like a charm! What's the difference between 
> charset-hook and iconv-hook then? The manual describes them as doing 
> almost the same. I know they're not, but I can't grasp the 
> difference.

My understanding (which is probably incomplete) is that charset-hook 
was the original, and is used for displaying messages. iconv-hook, on 
the other hand, applies even to things in $send_charset (I'm not sure 
why this is necessary, but... <shrug>). If it helps, this is from 
http://www.mutt.org/changes.html:

  charset-hook defines aliases for character sets encountered in
  messages (say, someone tags his messages with latin15 when he means
  iso-8859-15), iconv-hook defines local names for character sets (for
  systems which don't know about MIME names; see contrib/iconv for
  sample configuration snippets).

~Kyle
- -- 
I am always ready to learn although I do not always like to be taught.
                                                  -- Winston Churchill
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFEaToGBkIOoMqOI14RAjTDAJ9uW2zj4nJ+Em/qDqIWAE4uUmpChQCgwI+Q
xX5Vn0/n0gB5tLUWpD7gCI4=
=M/IV
-----END PGP SIGNATURE-----