Fix url-encode to not to encode boundary characters like #\A, #\Z, #\a, #\z, #\0, #\9.