nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] replyfilter

2012-05-31 15:06:25
That works for me on my systems.  Wahoo!  Thanks!

Replying to your message I got these errors:

ascii "\xE2" does not map to Unicode at /home/kevinc/bin/replyfilter line 179, 
<STDIN> line 3.

Yeah, that's my fault.  I realized that after I sent it.

What happened was this: I have my locale set to UTF-8.  That means that
man pages are displayed using UTF-8 characters.  Sometimes groff uses
part of Unicode to do that.  in this particular case, you saw

        E2 80 90

Which decodes to U+2010, HYPEN (aka “‐”).  When I cut and pasted
the text from the web page I didn't realize it contained non-ASCII
characters.  When I _do_ know that, I make sure to run mhbuild on it
(like I did for this message).  So replyfilter didn't see any MIME
headers, correctly assumed the input was us-ascii, and was complaining
when it saw characters with the high bit set.  Then exmh saw that
replyfilter had output on standard error and registered that as an
error.  I have a patch from Alex Zangerl to fix that problem in exmh,
but I haven't tested it just yet.

(Issues like this is what makes me think we need to be sure to run
mhbuild on all drafts by default).

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>