The Stack Overflow podcast is back! Listen to an interview with our new CEO.
1 of 2

Pyth, 9 bytes

m.Ecl.Bd8

Test suite

Basically just ceil(len(bin(d)) / 8) for every character d in the input. Outputs the values as list.