Is there a simple utility like printf that'll give me a "binary representation", i.e. a string like "01010010", from an input string? It would need to support multi-byte encodings.
You can also do this (and many other things) using figlet with the binary font.
$ echo foo | figlet -f binary
01100110 01101111 01101111
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago