Well, you can limit the characters to english only using a simple loop:
$str = $_POST['text']; // Form posted text
$error = FALSE; // set the default error to false, meaning no error
for($i=0; $i<strlen($str); $i++)
{
$char = ord($str{$i});
if($char<32 && $char>126 && !=10 && !=13)
{
die('Only english characters allowed');
}
}
ASCII Lookup Table
Of course, you can use the [man]ord[/man] function to get you the ASCII character code for whatever character. You can then use that to replace the illegal characters with the ASCII code.