diff --git a/CHANGELOG b/CHANGELOG index 34b637ee..1d5f83aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ - Change use of old templateInit() api and use class based api introduced in 4.3 instead - Updated jQuery to 1.4.3 - Fixed bug #017355: admin2: js error prevents context menu in children items table to pop up +- Fixed bug #017573: (tc-458) utf8 names are no rendered properly in admin2 interface # v1.2.0rc1 - Fixed bug #017223: Make LoadFromCDN disabled by default diff --git a/classes/ezjscajaxcontent.php b/classes/ezjscajaxcontent.php index e2490b05..a2e018e0 100644 --- a/classes/ezjscajaxcontent.php +++ b/classes/ezjscajaxcontent.php @@ -227,7 +227,7 @@ public static function simplify( $obj, $params = array() ) $ret = array(); $attrtibuteArray = array(); - $ret['name'] = htmlentities( $contentObject->attribute( 'name' ), ENT_QUOTES ); + $ret['name'] = htmlentities( $contentObject->attribute( 'name' ), ENT_QUOTES, "UTF-8" ); $ret['contentobject_id'] = $ret['id'] = (int) $contentObject->attribute( 'id' ); $ret['contentobject_remote_id'] = $contentObject->attribute( 'remote_id' ); $ret['main_node_id'] = (int)$contentObject->attribute( 'main_node_id' );