enable processing of binary encoded string

Hi, 
Here's the change to enable processing of the binary encoded string.
Thanks!
Stephen