perl -e 'binmode STDIN,":utf8";binmode STDOUT,":encoding(cp1256)";print while(<>)' < arabic.utf8 | AraMorph.pl > output