I want to make a file including non-printable characters to just only include printable characters. I think this problem is related to ACSCII control action, but I could not
You can try this sed command to remove all non-printable characters from a file:
sed
sed -i.bak 's/[^[:print:]]//g' file