static String encPath(final String content, final Charset charset) {
        return urlEncode(content, charset, PATHSAFE, false);
    }
Encode a String using the {@link #PATHSAFE} set of characters.
<p>
Used by URIBuilder to encode path segments.

@param content the string to encode, does not convert space to '+'
@param charset the charset to use
@return the encoded string
aws-java-sdk-core/src/main/java/com/amazonaws/util/URLEncodedUtils.java