JRouter::encodeSegments

Encode route segments