Update rte_triggers.lib.php

Editing a trigger with special characters
This commit is contained in:
Nikolay Ermolovich 2013-03-29 16:29:14 +06:00 committed by Rouslan Placella
parent a776aa5743
commit 45af9e1869

View File

@ -296,7 +296,7 @@ function PMA_TRI_getEditorForm($mode, $item)
'item_definer'
);
foreach ($need_escape as $key => $index) {
$item[$index] = htmlentities($item[$index], ENT_QUOTES);
$item[$index] = htmlentities($item[$index], ENT_QUOTES, 'UTF-8');
}
$original_data = '';
if ($mode == 'edit') {