docspell icon indicating copy to clipboard operation
docspell copied to clipboard

UTF 8 unsupported in Email to PDF from field (minor)

Open PovilasID opened this issue 3 years ago • 2 comments

Hey,

This is really at tiny thing my surname has UTF-8 chars č and it gets converted to Ä when I am importing emails from gmail in the from field of the PDF. Email title has all the UTF-8 chars supported well 'from' field is only exception (other chars like 'ė' also get converted to Ä )

PovilasID avatar Jul 29 '22 18:07 PovilasID

It would be great to have a sample email to reproduce this issue. If you could create one and export it to eml maybe? i think you could click on "download original file" in docspell - it should return the original email as downloaded from gmail via imap.

eikek avatar Jul 30 '22 15:07 eikek

Hi @PovilasID first sorry for the very long delay. Today I looked at your email you sent me via matrix. I think the From: header contains "plain" UTF-8 characters. From how I understand the email specs, the headers can only contain ASCII and that's why these messy workarounds exists, like =?utf-8?Q?hello?= - not sure what I can do here. Maybe javamail allows to set utf8 as default. But also interesting that gmail creates such mails wdyt?

eikek avatar Nov 19 '22 10:11 eikek