config['PublishCharset']; return htmlentities($text, ENT_COMPAT, $charset ); } ?>