SVN commit 731536 by aacid: PDF passwords are latin1, so encode them correctly BUG: 138997 M +1 -1 generator_pdf.cpp --- branches/KDE/3.5/kdegraphics/kpdf/core/generator_pdf/generator_pdf.cpp #731535:731536 @@ -152,7 +152,7 @@ } // 2. reopen the document using the password - GString * pwd2 = new GString( password.data() ); + GString * pwd2 = new GString( QString::fromLocal8Bit(password.data()).latin1() ); delete pdfdoc; pdfdoc = new PDFDoc( new GString( QFile::encodeName( filePath ) ), pwd2, pwd2 ); delete pwd2;