static function UTF8ToHTML($content="")
	{
		$contents = self::unicode_string_to_array($content);
		$swap = "";
		$iCount = count($contents);
		for ($o=0;$o<$iCount;$o++) {
			$contents[$o] = self::unicode_entity_replace($contents[$o]);
			$swap .= $contents[$o];
		}
		return mb_convert_encoding($swap,"UTF-8"); //not really necessary, but why not.
	}
static function UTF8ToHTML($content="")
	{
		$contents = self::unicode_string_to_array($content);
		$swap = "";
		$iCount = count($contents);
		for ($o=0;$o<$iCount;$o++) {
			$contents[$o] = self::unicode_entity_replace($contents[$o]);
			$swap .= $contents[$o];
		}
		return mb_convert_encoding($swap,"UTF-8"); //not really necessary, but why not.
	}
static function UTF8ToHTML ( $ content = "" ) { $ contents = self :: unicode_string_to_array ( $ content ) ; $ swap = "" ; $ iCount = count ( $ contents ) ; for ( $ o = 0 ; $ o < $ iCount ; $ o ++ ) { $ contents [ $ o ] = self :: unicode_entity_replace ( $ contents [ $ o ] ) ; $ swap .= $ contents [ $ o ] ; } return mb_convert_encoding ( $ swap , "UTF-8" ) ; //not really necessary, but why not. }
Converts UTF-8 character set into html encoded goodness

@author montana
@link http://www.php.net/manual/en/function.htmlentities.php#92105
@param string $content
Converts UTF - 8 character set into html encoded goodness