Re: urlview and weirdo characters
On 2004-10-05, Matthew M Davis <mmd@xxxxxxxxxxxxx> wrote:
> Forgive, please, this modestly off-topic question:
>
> Periodically, I get emails that include embedded URLs that render fine
> in Mutt's internal pager, but that render improperly when urlview
> extracts them for launch.
>
> In particular, it seems that the '.' character in these URLs gets
> turned into '=2E'.
>
> Since Mutt is handling these dots gracefully, I wonder what's going on.
The representation of '.' as '=2E' is due to the quoted-printable
encoding of the message. The easiest way to fix this is to put this
in your muttrc
set pipe_decode
so that the quoted-printable encoding is removed from any messages
piped to urlview.
If don't want to have piped messages always decoded, you could put
these in your muttrc instead
macro index \cB ":set pipe_decode\n|urlview\n:unset pipe_decode\n"
macro pager \cB ":set pipe_decode\n|urlview\n:unset pipe_decode\n"
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA