Re: decoding UTF-8

2016-03-14 Thread Andreas Doll
On 2016-03-14 at 17:30, Jon LaBadie wrote:
> Is my assumption correct?  What is the representation called?  Is there a
> tool to regain the original string?  I believe my video system can display
> the larger character set.

You are correct, it's just the UTF-8 encoding. There is a recent thread on
this topic [1], where you can also find how to decode these strings using
python. I think mutt should display the names decoded, isn't that the case for
you?

Best regards,
Andreas


[1]http://marc.info/?t=14571591913=1=2


decoding UTF-8

2016-03-14 Thread Jon LaBadie
I frequently find headers (mostly Subject, but also From/To)
that I assume are some representation form for a UTF-8 encoded 
string as they start with "=?UTF-8?" and end with "=?= ".
For example:

  To: =?UTF-8?B?Z3VuZGk=?= 

Is my assumption correct?  What is the representation called?
Is there a tool to regain the original string?
I believe my video system can display the larger
character set.

jl
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)


Clash between macro for saving & msg-hook for checking traditional pgp

2016-03-14 Thread Jonas Hedman
I have the following macro in my .muttrc

macro index hy ":set confirmappend=no delete=yes
auto_tag=yes\n=main/stuff\n:set
confirmappend=yes delete=ask-yes\n"

 and I also have

message-hook '!(~g|~G) ~b"^-BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec
check-traditional-pgp"

To deal with old-style inline encrypted emails.

When I try to save an inline encrypted email using the above macro
something weird happens:

It opens vim in "compose mail-mode" and wants to forward the mail I'm
trying to save To: irmappend=yes@computername,delete=ask-yes@computername

When I exit vim I end up in compose mode editing the cc header to
"heck-traditional-pgp>"

I have no idea what is going on here but I guess there is some kind of
clash between the message hook and the macro. Is there anyway I can get
them to work nicely together?

Regards
-- 
Jonas Hedman 

XMPP:n...@jabber.at
PGP Key: 0x5c3989e0616bb08c
Fingerprint: 8F72 C5BE AAFA B4BA 8F46  9185 5C39 89E0 616B B08C


signature.asc
Description: Digital signature