Character to value works:
$ printf "%d " 'A 65 $
I have two questions, the first one is most important:
One line
printf "x$(printf %x 65)"
Two lines
set $(printf %x 65) printf "x$1"
Here is one if you do not mind using awk
awk
awk 'BEGIN{printf "%c", 65}'
1.4m articles
1.4m replys
5 comments
57.0k users