common/src/main/java/com/genexus/util/Codecs.java
/**
     * Translates a string into <code>x-www-form-urlencoded</code>
     * format. This method uses the platform's default encoding
     * as the encoding scheme to obtain the bytes for unsafe characters.
     *
     * @param   s   <code>String</code> to be translated.
     * @deprecated The resulting string may vary depending on the platform's
     *             default encoding. Instead, use the encode(String,String)
     *             method to specify the encoding.
     * @return  the translated <code>String</code>.
     */
Translates a string into x-www-form-urlencoded
format. This method uses the platform's default encoding
as the encoding scheme to obtain the bytes for unsafe characters.

@param   s   String to be translated.
@deprecated The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
@return  the translated String.
Translates a string into x - www - form - urlencoded format . This method uses the platform ' s default encoding as the encoding scheme to obtain the bytes for unsafe characters . @param s String to be translated . @deprecated The resulting string may vary depending on the platform ' s default encoding . Instead use the encode ( String String ) method to specify the encoding . @return the translated String .
public static String encode(String s) {
	String str = null;
	try {
	    str = encode(s, dfltEncName);
	} catch (UnsupportedEncodingException e) {
	}
	return str;
    }
public static String encode ( String s ) { String str = null ; try { str = encode ( s , dfltEncName ) ; } catch ( UnsupportedEncodingException e ) { } return str ; }
Translates a string into <code>x-www-form-urlencoded</code>
 format.
Translates a string into <code > x - www - form - urlencoded< / code > format .
// The system should always have the platform default