Encode a user-provided string for safe embedding in compound IDs. Empty strings encode to an empty segment; callers that need parse round-trips should pass non-empty segment values.
Encode a user-provided string for safe embedding in compound IDs. Empty strings encode to an empty segment; callers that need parse round-trips should pass non-empty segment values.