Add sanity check
diff --git a/html/global.php b/html/global.php
index e4c1a51..b496f1d 100644
--- a/html/global.php
+++ b/html/global.php
@@ -170,6 +170,7 @@
  * @return string
  * @since 2008-07-18
  */
+if(!function_exists('toescapedunicode')) {
 function toescapedunicode($str) {
 	$unicode = array();       
 	$values = array();
@@ -204,4 +205,5 @@
 	}
 	return implode("",$unicode);
 }
+}
 ?>
\ No newline at end of file