ralph wrote:
Hi Wolfgang,
I think mhfixmsg is a powerful and useful tool, but I can't use it as
I cannot edit the resulting files as my favorite editor gets confused
over the mix of character sets in a single file.
A file containing an email in wire format, like nmh's, can have bytes
that represent glyphs/runes in a variety of character encodings. That's
both before and after mhfixmsg have looked at it. vim can't handle that
AFAIK. (Can Emacs? :-) There isn't a solution since text/html can't
change character encoding because it may have headers that are then
wrong, and even if they're altered, which seems like a very bad idea to
me, then there's no saying that other aspects of the page don't expect a
particular encoding.
The solution is to split the single file into multiple ones, then vim
sees a single encoding used for the whole file. Various ways to do that
have been mooted here in the past, e.g. an email being a directory
structure mirroring the MIME structure.
seems like vim needs a new mode, for editing RFC-5322 files.
paul
=----------------------
paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma,
where it's 37.8 degrees)
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers