You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2022/07/05 07:03:00 UTC
[jira] [Commented] (PDFBOX-5474) Attachment file name incorrectly rendered if foreign alphabet is used
[ https://issues.apache.org/jira/browse/PDFBOX-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562399#comment-17562399 ]
Tilman Hausherr commented on PDFBOX-5474:
-----------------------------------------
What happens if you only set the unicode name?
> 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
> Priority: Major
> Labels: attachments, font
> Attachments: 2138723a-0707-40e8-93f9-eb74510751ab.pdf, 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org