Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X

From: Eli Zaretskii <[email-masked]>
Date: Fri, 31 Dec 2010 18:07:13 +0200

> Date: Fri, 31 Dec 2010 15:22:56 +0100
> From: Jan Djärv <[email-masked]>
> CC: [email-masked], [email-masked], [email-masked], 
>  [email-masked], [email-masked]
> 
>                      (generate-new-buffer
>                       (format "edit of %s's note re: %s"
>                               (vm-su-full-name (car vm-message-pointer))
>                               (vm-su-subject (car vm-message-pointer)))))

So I guess VM holds the message in its undecoded (external) format?
If so, it should do this:

                      (format "edit of %s's note re: %s"
                              (decode-coding-string
                                (vm-su-full-name (car vm-message-pointer))
                                SOMETHING)
                              (decode-coding-string
                                (vm-su-subject (car vm-message-pointer))
                                SOMETHING))

Quite what to use for SOMETHING depends on whether VM knows the
encoding of the message.  If it does, it should use that; otherwise
using `undecided' should DTRT in most cases.