Convert hex to ASCII by Hendrik

using System;class X{static void Main(){foreach(var s in Console.In.ReadToEnd().Split()){int n=Convert.ToInt32(s,16);Console.Write(n>31&n<127?""+(char)n:n==10?@"\n
":"\\x"+s.ToLower());}}}

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

download

return to the top page