Hi all!
I am using files with cyrillyc names and try to attach them to PDF file.
After this operation I open my PDF and see that attachments not contained
cyrillyc symbols.
Some peoples says about /UF flags.
i set /UF flag with method
.setUnicodeFileName(file.getName(), true);
More fully example :
PdfStamper outputDocumentWriter .....
File ff ...
...
PdfWriter writer = outputDocumentWriter.getWriter();
PdfFileSpecification psf = PdfFileSpecification.fileEmbedded(writer,
ff.getAbsolutePath(), ff.getName(), null);
psf.setUnicodeFileName(ff.getName(), true);
outputDocumentWriter.addFileAttachment("",psf);
outputDocumentWriter.close();
Please, help me/ What I'm missing? May be needs to remove /F flags?
Maybe somebody knows any other library for make PDF attachments?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Unocode-file-names-F-anf-UF-flags-tp3310486p3310486.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php