code: protected String decode(byte[] bytes, String encoding) {
  
          try {
              return new String(bytes, encoding);
          } catch (UnsupportedEncodingException e) {
              return new String(bytes);
          }
      }
docs: Decodes a byte array into a string with a given encoding, or the default encoding if that fails.<p>
  
  @param bytes the byte array
  @param encoding the encoding to use
  
  @return the decoded string