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 -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
