Hi
The problem with garbled codes
I created a job with Chinese in the fixed file name, and the sender and recipient nicknames.
After the task is successfully executed, the names of senders and recipients in the emails received by outlook 2016 are abnormal, and the names of attachments are also abnormal.
Regarding the filename: What do you see in the Configure->Jobs menu? There is the last generated filename shown (see screenshot).
Is the filename correct on this page? I think this could help to find out, if outlook/mailing is the reason or ART.
I tried to use gmail to receive and send task emails, and the recipient nickname and attachment name of the email were normal in the gmail web page;
However, the name of the sender and recipient, as well as the name of the attachment, will be abnormal when receiving with outlook
What is the reason for this?
I looked for the reason through AI and got this explanation:
This is usually caused by the way the mail client handles the file name of the attachment. In order to ensure that the file name can be correctly displayed in different clients, it is necessary to call MimeUtility.encodeText() to encode the file name when setting the file name.
Since I don't know java, I'm not sure if the answer given by the AI is correct, it seems that such an exception only occurs in the outlook mail client.
Thx!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After I tried to update to ART 8.0 today, the Chinese characters in the sender name and recipient name appear normally, as shown in Figure 1
But there is still a problem with Chinese characters in the name of the attachment;
The original file name and type of the attachment are shown in Figure 2
Hi
The problem with garbled codes
I created a job with Chinese in the fixed file name, and the sender and recipient nicknames.
After the task is successfully executed, the names of senders and recipients in the emails received by outlook 2016 are abnormal, and the names of attachments are also abnormal.
It is normal if you only use English;
Is there any way to solve it?
Please look at the picture, thank you!
Regarding the filename: What do you see in the Configure->Jobs menu? There is the last generated filename shown (see screenshot).
Is the filename correct on this page? I think this could help to find out, if outlook/mailing is the reason or ART.
In Jobs menu interface, the file name is normal;
So could it be an outlook or mail-server coding problem?
Can you try sending it to another email-address, which uses another client, like gmail?
I tried to use gmail to receive and send task emails, and the recipient nickname and attachment name of the email were normal in the gmail web page;
However, the name of the sender and recipient, as well as the name of the attachment, will be abnormal when receiving with outlook
What is the reason for this?
I looked for the reason through AI and got this explanation:
This is usually caused by the way the mail client handles the file name of the attachment. In order to ensure that the file name can be correctly displayed in different clients, it is necessary to call MimeUtility.encodeText() to encode the file name when setting the file name.
code:
filePart.setFileName(MimeUtility.encodeText(entry.getKey()));
Since I don't know java, I'm not sure if the answer given by the AI is correct, it seems that such an exception only occurs in the outlook mail client.
Thx!
After I tried to update to ART 8.0 today, the Chinese characters in the sender name and recipient name appear normally, as shown in Figure 1
But there is still a problem with Chinese characters in the name of the attachment;
The original file name and type of the attachment are shown in Figure 2
This seems to be an issue with the email client.
Last edit: Timothy Anyona 2024-05-21
The latest version 8.2 of the task mail attachment name can be displayed normally.
Thx!