[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] replyfilter

From: Ken Hornstein
Subject: Re: [Nmh-workers] replyfilter
Date: Thu, 31 May 2012 16:06:13 -0400

>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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]