php - Zend_Pdf font problems with german language.....? -
i using zend_pdf class
create pdf document
.
here contents in german language
, when write content pdf automatically converts
characters
some special chars
.
i not able figure out problem....?
i tried code like
$str = html_entity_decode($str, ent_compat, "utf-8");
but not taking , showing same result
.....!!!!!!
please provide code or links helps me........
thanks in advance.....
thanks zsub,
i got solution using following code :
$text = $this->_font->encodestring($text, 'utf-8');
Comments
Post a Comment