@Deprecated public static String encode(String s,BitSet safeOctets,boolean plusForSpace){
  try {
    return encode(s,"UTF-8",safeOctets,plusForSpace);
  }
 catch (  UnsupportedEncodingException e) {
    throw new AssertionError(e);
  }
}

@ Deprecated public static String encode ( String s , BitSet safeOctets , boolean plusForSpace ) { try { return encode ( s , "UTF-8" , safeOctets , plusForSpace ) ; } catch ( UnsupportedEncodingException e ) { throw new AssertionError ( e ) ; } }
shortcut for encode ( s , " utf - 8 " ) . this is very similiar to java . net . urlencoder . encode ( ) except that it uses utf - 8 instead of the platform ' s default encoding .
