Paul Fox wrote: > > can nmh decode UTF or otherwise-encoded headers? it's not that
Yes. See the decode function in the mh-format manual page. It has a few limitations however. It doesn't use iconv or similar to convert headers to the current encoding. So you need to use a UTF-8 locale and set the MM_CHARSET environment variable to UTF-8. That means that it then won't decode a ISO-8859-1 header anymore. > i _want_ to be able to read all of the UTF-encoded spam i get, but The thing I find with spam is that they always seem to break the rfc by including space characters in the encoded section of the header. I don't know whether this is also common in legitimate mails but nmh doesn't decode such headers. The relevant code is in sbr/fmt_rfc2047.c if you're interested in looking. Oliver _______________________________________________ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers