Get text:

start from temp.txt

perl -pi -e 's/[^[:ascii:]]//g' <filename>
sed -i '/^$/d' <filename>

CoDA -> 3481555