You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Fastcore Tux (Jira)" <ji...@apache.org> on 2019/09/26 18:08:00 UTC

[jira] [Created] (PDFBOX-4660) Can't decrypt PDF when password contains special national characters

Fastcore Tux created PDFBOX-4660:
------------------------------------

             Summary: Can't decrypt PDF when password contains special national characters
                 Key: PDFBOX-4660
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4660
             Project: PDFBox
          Issue Type: Bug
            Reporter: Fastcore Tux


I tried to encrypt PDF by user password which contains national characters. Encryption was successful but I can't open it and decrypt it in any PDF browser.

Due to Cookbook example (https://pdfbox.apache.org/2.0/cookbook/encryption.html) it could be tested by changing StandardProtectionPolicy instantiation.
{code:java}
StandardProtectionPolicy spp = new StandardProtectionPolicy("ěšč", "řžý", ap);
{code}

Maybe my usage is wrong... In this case please accept my apology.

Thank you!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org