<<< Date Index >>>     <<< Thread Index >>>

Why doen't gmail display my attachment filename correctly?



Hi all:

I use mutt to send an email with an attachment to gmail. But when I see
it in gmail, it seems that the attachment filename is just weird as
following:

        gb2312''%D1%A7%C9%FA%B5%F7%B2%E9%B1%ED%2Edoc

My local file name encoding is utf-8, and my relative part of mutt is as
following:

        # charset settings
        set charset = "utf-8"
        set assumed_charset = "us-ascii:gb2312:gbk:utf-8"
        set send_charset = "us-ascii:gb2312:gbk:utf-8"
        charset-hook zh_CN.euc gb2312
        charset-hook x-gbk gbk

        # deal with incorrect MIME encoding
        set rfc2047_parameters = yes

The mail I sent has following displayed in mutt:

        [-- Attachment #2: 学生调查表.doc --]
        [-- Type: application/msword, Encoding: base64, Size: 43K --]
        Content-Type: application/msword
        Content-Disposition: attachment; 
filename*=gb2312''%D1%A7%C9%FA%B5%F7%B2%E9%B1%ED%2Edoc
        Content-Transfer-Encoding: base64

I don't know what to do with this situation.  What help?
        
-- 
Shaochun Wang <scwang@xxxxxxxxx>

Jabber: fungusw@xxxxxxxxxx