Convert hex to ASCII by amama

main(a,s){for(;~scanf("%s",s);printf(a-10?isprint(a)?"%c":"\\x%02x":"\\n\n",a))a=strtol(s,0,16);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page