Over a million developers have joined DZone.

Binary-to-text Converter

DZone's Guide to

Binary-to-text Converter

· ·
Free Resource
Converts all 8-bit binary numbers in the standard input into text, though there's probably a better way to do this

#!/usr/bin/perl -wn
use strict;
print chr oct "0b$1" while /([01]{8})/g;
print "\n";

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}