Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Bookmark text corrupted with Japanees/Chineese characters for Security enabled PDF's

$
0
0
Hi Team,

Bookmark text corrupted with Japanees/Chineese characters for Security enabled PDF's.
PFA - PDF having corrupted bookmark texts. Open Password: test123, security password: test456
        - Output PDF
Code:
public static void main(String args[]) {
        String inFile = "C:\\satyendra\\test\\SecurityPDF.pdf";
        com.aspose.pdf.Document document = new com.aspose.pdf.Document(inFile, "test123");
        document.optimize();
        document.save(inFile);
        document.dispose();
    }

After running this code, open the source pdf and find that the bookmarks are corrupted.
Please let me know if you need anymore details.

Thanks,
Satyendra

Viewing all articles
Browse latest Browse all 3131

Trending Articles