Comment 7 for bug 684922

Revision history for this message
Elan Ruusamäe (glen666) wrote :

you probably want to specify app charset as well:

string html_entity_decode ( string $string [, int $quote_style = ENT_COMPAT [, string $charset = 'UTF-8' ]] )

i.e:
$data['description'] = html_entity_decode($data['description'], ENT_COMPAT, APP_CHARSET);