encodes strings to runes
Helper method for stripping unicode 'control', 'other', and 'blank' characters from strings