Print non-ASCII URLs correctly in error messages.