Re-add UTF8_ENABLED constant
diff --git a/system/core/Utf8.php b/system/core/Utf8.php
index 1d5dfc2..21bac60 100644
--- a/system/core/Utf8.php
+++ b/system/core/Utf8.php
@@ -57,7 +57,8 @@
 			&& @ini_get('mbstring.func_overload') != 1	// Multibyte string function overloading cannot be enabled
 			&& $CFG->item('charset') === 'UTF-8'		// Application charset must be UTF-8
 			)
-		{			
+		{
+			define('UTF8_ENABLED', TRUE);
 			log_message('debug', 'UTF-8 Support Enabled');
 
 			// set internal encoding for multibyte string functions if necessary
@@ -68,6 +69,7 @@
 		}
 		else
 		{
+			define('UTF8_ENABLED', FALSE);
 			log_message('debug', 'UTF-8 Support Disabled');
 		}
 	}