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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -