Hello, No information about this issue? Shall I open a bug report for this?
Regards, On Fri, Oct 21, 2011 at 4:46 PM, scs <[email protected]> wrote: > Hello, > > I have a weird issue related to pdf file generation using zend_pdf. > > I am using ZF 1.11.11-minimal. > Linux Debian 6.0.3 > PHP Version 5.3.3-7+squeeze3 > > I saw some php warning errors in apache's error.log. > The warnings are as below: > > [Fri Oct 21 16:43:03 2011] [error] [client xxx.xxx.xx.xxx] PHP > Warning: mb_convert_encoding(): Illegal character encoding specified > in /var/www/...path.../ZendFramework/1.11.11-minimal/library/Zend/Pdf.php > on line 1250, referer: http://domain.com/folder/etc > > And these are some lines from pdf generation code: > > LINE 1: LINE 1: $pdf = Zend_Pdf::load($templatePdfFile); > LINE 2: $font = Zend_Pdf_Font::fontWithPath($pdfFontPath); > > LINE 3: $pdf->properties['Title'] = "Form - PDF"; <-- causing error > LINE 4: $pdf->properties['Author'] = "APPLICATION"; <-- causing error > > When I comment lines 3 and 4, there is no warning. But when I > uncomment these lines, I again start to see the php warnings. > > I tried to search the error but was not successfull to find something useful. > > Anybody has an idea? > > Thanks > scs > -- Iyi calismalar, -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
