From kde-commits Wed Oct 31 23:24:53 2007 From: Albert Astals Cid Date: Wed, 31 Oct 2007 23:24:53 +0000 To: kde-commits Subject: KDE/kdegraphics/okular/generators/poppler Message-Id: <1193873093.156319.14515.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=119387310027230 SVN commit 731537 by aacid: poppler clearly states in its doc since 36 minutes ago that passwords have to be latin1 encoded M +1 -1 generator_pdf.cpp --- trunk/KDE/kdegraphics/okular/generators/poppler/generator_pdf.cpp #731536:731537 @@ -411,7 +411,7 @@ } // 2. reopen the document using the password - pdfdoc->unlock( password.toLocal8Bit(), password.toLocal8Bit() ); + pdfdoc->unlock( password.toLatin1(), password.toLatin1() ); // 3. if the password is correct and the user chose to remember it, store it to the wallet if ( !pdfdoc->isLocked() && wallet && /*safety check*/ wallet->isOpen() && keep )