I have an issue of greek characters are displaying as below when creating PDF. any idea? please help because its critical for all my products. thanks in advance.
Hey @santo you want to add the Greek language as a Python package.
Here is how you do it:
- Under the ‘Action details’ all the way down in the ‘Additional Packages’ section type in ‘greek’
OR
- Inside the ‘Action code’ section, type in ‘import greek’
i really appreciate your help but this is for email action. i am looking for generating a pdf with greek characters. still trying but nothing.
I understand. Regardless of which action you are using, the underlying action code is in Python. If you want Greek character, you have to Add the greek package into the code in order to output results in Greek.
If you’re using the default 'Send email summary" action, then you don’t have an option to customize and tweak to your specific use case.
The best alternative is to create a custom action which you can customize to your project and add the Greek language Python package.
I understand. Sometime adding additional packages under the “Action details” section doesn’t work.
Better to directly input the Python package you want into the code.
In your case, add it before ‘from xhtml2psf’:
sorry sir if i wasn’t clear about the action. i am trying to generate a simple pdf (like the one in the public actions) that can generate pdfs in greek language. i have tried your grateful advises from you (as your photo above but still nothing).
i dont want to take more from your valuable time . thanks for your time. unfortunately i cant do it and that effects all my products.
It 100% can be done. No problem, I’m happy to help. Let’s do a quick diagnosis call when you have the time. I sent you a message with a link.