[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] base64 ... just looking for advice
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] base64 ... just looking for advice |
Date: |
Wed, 27 Jan 2016 12:24:27 -0500 |
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, address@hidden (arlington, ma, where it's 37.8 degrees)
- Re: [Nmh-workers] base64 ... just looking for advice, David Levine, 2016/01/19
- Re: [Nmh-workers] base64 ... just looking for advice, David Levine, 2016/01/19
- Re: [Nmh-workers] base64 ... just looking for advice, David Levine, 2016/01/19
- Re: [Nmh-workers] base64 ... just looking for advice, David Levine, 2016/01/19
- Re: [Nmh-workers] base64 ... just looking for advice, David Levine, 2016/01/22
- Re: [Nmh-workers] base64 ... just looking for advice, Wolfgang Denk, 2016/01/23