[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/okular/generators/poppler
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2007-10-31 23:24:53
Message-ID: 1193873093.156319.14515.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic