Hugo urlize, but without replacing spaces with hyphens

Is there a way to encode URLs without replacing spaces with hyphens. I want " " to be replaced with “%20”.