Auto-sync email attachments to tickets - Problem with ANSI encoding

Auto-sync email attachments to tickets - Problem with ANSI encoding


Hello,

I discovered the following Zoho tutorial: https://help.zoho.com/portal/en/community/topic/automation-3-auto-sync-email-attachments-to-tickets
I have created a function based on the post, which also works BUT there is a problem with the text encoding ANSI.

Example:








How can I solve the problem?

Regards,
Sven