Email content and attachment name with wrong character encoding

Hello,

I use the send email plugin in the workflow (the old one, not the secure email output). Thereby I have a partially variable content (with umlauts) and have to attach a PDF file (variable, external PDF based on a workflow variable), which can also have umlauts in the name.

The umlauts in the email content work correctly when I change the encoding from UTF-8 to Latin-1. However, I do not get the umlauts in the name of the attached PDF file displayed correctly.
Currently I load the PDF as external content.

I have also already tried to load the PDF file in the process as a job file and include it as an attachment accordingly. However, I do not know how to name the file variably.

Does anyone have an idea how I can get a clean result here?

Thanks,
Thomas

Hi Thomas,

Are the umlauts, in the variable you want to use as the pdf name, encoded correctly prior to being used as the name?

Thanks

Alex Banahene

Hi Alex,

both the email content and the pdf filename are pulled from the same variable. The email content is correct.

Hi thomas

This is probably due to translation issues between UTF and ansi which is being used internally in some plug ins. Iā€™d advise trying the translator plugin with as source encoding of ā€œ65001 UTF-8ā€ and target encoding of 1250 (ANSI - Central europe) before extracting data from it that you wnat to use to name the file on exit.

I hope this helps

Alex Banahene