Fix ASCII encoding of message to be URL compatible