Deal better with non-url encoded input.
URL encode the text.