Convert Foreign Characters to HTML Characters
NB:Only works in firefox at the moment!
Use this tool if you want to include Chinese, Japenese, Korean or Arabic characters, such as the output from Google Translate in your web page or blog. Simply paste the foreign characters in the text box below, and hit the convert button.
';
#echo '';
echo str_replace('amp;', '', htmlentities($_POST['text']));
echo "
becomes...
";
echo htmlentities($_POST['text']);
// echo mb_convert_encode($_POST['text'],'HTML-ENTITIES','UTF-8');
#echo '
';
echo '';
}
if (!isset($_POST['text'])) {
$_POST['text'] = "واتمني ان يري الشخص اداه التحويل";
echo '
';
}
?>
Built by Paul Maunders.