Encodes a string so that all characters with unicode less than 128
that are not in the character range [0-9a-zA-Z ] are represented
by an escape character (which might be a character which is less than
128 and not in the set [0-9a-zA-Z ])
followed by a two digit hexadecimal unicode value.