Encode the URI component