How to generate pdf files _with_ utf-8 multibyte characters using Zend Framework

Posted by Sejanus on Stack Overflow See other posts from Stack Overflow or by Sejanus
Published on 2008-10-06T07:50:31Z Indexed on 2010/05/28 8:22 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

Hello, I've got a "little" problem with Zend Framework Zend_Pdf class. Multibyte characters are stripped from generated pdf files. E.g. when I write aabccdee it becomes abcd with lithuanian letters stripped.

I'm not sure if it's particularly Zend_Pdf problem or php in general.

Source text is encoded in utf-8, as well as the php source file which does the job.

Thank you in advance for your help ;)

P.S. I run Zend Framework v. 1.6 and I use FONT_TIMES_BOLD font. FONT_TIMES_ROMAN does work

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework