Why do you want to separate the words at all? Why do you not just read character by character and display the binary representation? You still may leave spaces untranslated.