Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the attachment filename is messy code #870

Open
Blue51 opened this issue Mar 23, 2022 · 1 comment
Open

the attachment filename is messy code #870

Blue51 opened this issue Mar 23, 2022 · 1 comment

Comments

@Blue51
Copy link

Blue51 commented Mar 23, 2022

when I use fetch function to get the attachment , and find the attachment filename is messy code. here is the log of attributes.struct

{
  struct: [
    {
      type: "mixed",
      params: {
        boundary: "----=_Part_2334289_269021430.1647946847692",
      },
      disposition: null,
      language: null,
    },
    [
      {
        partID: "1",
        type: "text",
        subtype: "html",
        params: {
          charset: "GBK",
        },
        id: null,
        description: null,
        encoding: "QUOTED-PRINTABLE",
        size: 3043,
        lines: 59,
        md5: null,
        disposition: null,
        language: null,
      },
    ],
    [
      {
        partID: "2",
        type: "application",
        subtype: "octet-stream",
        params: {
          name: "������ֵ���ֹ��㡿\r\n SJH578_���氲ӯ���6��˽ļ֤ȯͶ�ʻ���_2022-03-21.xlsx",
        },
        id: null,
        description: null,
        encoding: "BASE64",
        size: 9446,
        md5: null,
        disposition: {
          type: "attachment",
          params: {
            filename: "������ֵ���ֹ��㡿\r\n SJH578_���氲ӯ���6��˽ļ֤ȯͶ�ʻ���_2022-03-21.xlsx",
          },
        },
        language: null,
      },
    ],
  ]
}
@trasherdk
Copy link

Looks like you are missing utf-8 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants