oppure, una terza soluzione, è che converti i caratteri UTF8 nelle relative entità html prima di lanciare il comando tramite

htmlentities ( http://www.php.net/htmlentities )