I have zend application connected to Firebird database via ZendX library. It has windows-1250 charset. I am trying to use zend_form to create edit form and populate it with db values. It works with records free of diacritic characters and data is displayed properly, it's editable. Problem occurs whenever there are special characters, and form inputs are empty.
$form->addElement(
'textarea',
'POD',
array(
'value' => $this->ksiega['POD'],
'attribs' => array( 'class' => 'pod'),
)
);
$form->setElementDecorators(array(
'ViewHelper',
'Errors'
));
This shows empty input fields.
<textarea name="POD" id="POD" class="pod" rows="24" cols="80"><?=$this->ksiega['POD']?></textarea>
This code works. What am I not aware of here?