MX CSS Menu and UTF-8

MX CSS Menu and UTF-8

UTF-8 (2 Byte characters) does not display properly in CSS Menu.
divider

Edit the following file:

includes/cssmenus2/MX_Menu2.inc.php

Change line 347

$this->DBItems[$fk][$order]['name'] = htmlentities(stripslashes(trim($rs->Fields($this->menuNameField))));

to

$this->DBItems[$fk][$order]['name'] = html_entity_decode(stripslashes(trim($rs->Fields($this->menuNameField))));

and line 362

$title = htmlentities(stripslashes(trim($rs->Fields($this->menuTitleField))));

to

$title = html_entity_decode(stripslashes(trim($rs->Fields($this->menuTitleField))));
Written by:  - 27 Jun, 2010