RISOLTO - avevo la soluzione a portata di mano.

echo htmlentities(file_get_contents($_POST['text1']), ENT_QUOTES, 'UTF-8'); ?>