Created attachment 1773963 [details] screenshot of printing to file error without changing the generated filename Description of problem: When printing to file, the generated path seems to be surrounded by some Unicode characters, causing the write to fail because the path does not exist Version-Release number of selected component (if applicable): evolution-3.38.4-1.fc33.x86_64 How reproducible: Always Steps to Reproduce: 1. Try printing an email and choose "Print to file" 2. Override the filename and try again Actual results: Printing fails, e.g. for this message from test-announce The printer replied “Error opening file â/home/michel/Documents/20210418050327_[Test-Announce]_Fedora_34_Branched_20210418.n.0_nightly_compose_nominated_for_testing.pdfâ: No such file or directory”. The printer replied “Error opening file â/home/michel/Documents/20210418050327_testing.pdfâ: No such file or directory”. Expected results: The PDF gets saved to disk Additional info:
Created attachment 1773964 [details] screenshot of printing to file error with a shorter filename
This reproduces on Fedora 34's evolution-3.40.0-1.fc34. Printing to file from gedit is not affected and works fine.
PS on F34, I also tried launching evolution with `LANG=C evolution` in case it's some bizarre encoding issue, but that did not have any effect
Thanks for a bug report. This is a known issue in WebKitGTK. Please see bug #1896902 comment #1 for a workaround. *** This bug has been marked as a duplicate of bug 1896902 ***