Switched from CI super object to $CFG to fetch charset
diff --git a/system/libraries/Input.php b/system/libraries/Input.php
index ba94d85..b41dcfb 100644
--- a/system/libraries/Input.php
+++ b/system/libraries/Input.php
@@ -852,8 +852,8 @@
 	 */

 	function _html_entity_decode_callback($match)

 	{

-		$CI =& get_instance();

-		$charset = $CI->config->item('charset');

+		global $CFG;

+		$charset = $CFG->item('charset');

 

 		return $this->_html_entity_decode($match[0], strtoupper($charset));

 	}