Hello !
I have got a strange problem with Zend Framework
- I fetch data from MySql table that is set to utf8_general_ci
.
I inserted some data with polish fonts like ś ę ż...
and push that data to view (Dwoo
).
{foreach $units unit}
<tr>
<td>{$unit.id_unit}</td>
<td>{$unit.name}</td>
</tr>
{/foreach}
If $unit.name
contains polish characters - Dwoo
does not echo anything - if not, it works.
I set in bootstrap
$db->query('SET NAMES utf8');
$db->query('SET CHARACTER SET utf8');
but it did not help.
I have no more ideas.
Edit:
Problem is only on localhost machine (Windows) but with remote server (Linux) it is fine.