Kaue Oliveira created PDFBOX-5474:
-------------------------------------
Summary: Attachment file name incorrectly rendered if foreign
alphabet is used
Key: PDFBOX-5474
URL: https://issues.apache.org/jira/browse/PDFBOX-5474
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 3.0.0 PDFBox
Reporter: Kaue Oliveira
Attachments: image-2022-07-05-13-37-59-317.png,
image-2022-07-05-13-38-09-176.png, image-2022-07-05-13-39-10-990.png,
image-2022-07-05-13-39-30-136.png, image-2022-07-05-13-42-25-941.png
Files with a name in a foreign alphabet have their names not correctly rendered
when attached to pdf.
Tried both approaches below. Using `setFileUnicode` preserves the file
extension at least, while the first option doesn't.
!image-2022-07-05-13-38-09-176.png!
!image-2022-07-05-13-39-10-990.png!
!image-2022-07-05-13-42-25-941.png!
Apologies if wrong tag/component. I'm using PDFBox 3.0.0-alpha3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]