[ 
https://issues.apache.org/jira/browse/PDFBOX-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562399#comment-17562399
 ] 

Tilman Hausherr edited comment on PDFBOX-5474 at 7/5/22 7:03 AM:
-----------------------------------------------------------------

What happens if you only set the unicode name? And do you have the asian fonts 
package in your Adobe Reader?


was (Author: tilman):
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to