how to convert binary to string?

J

Jürgen Exner

sonet said:
ex.
convert "\x00\x0E" to '\x00\x0E'

So you have a character and you want the ASCII (or whatever encoding) code
point?
See "perldoc -f ord"

Although, that's not what _I_ would call converting binary to string (see
subject line). That sounds more like you got a number and you want its
binary representation as a string. For that see "perldoc -f sprintf"

jue
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top