static byte[] toBytes(String source){
  try {
    return source.getBytes("UTF8");
  }
 catch (  UnsupportedEncodingException e) {
    throw new IllegalArgumentException(e.getMessage());
  }
}

static byte [ ] toBytes ( String source ) { try { return source . getBytes ( "UTF8" ) ; } catch ( UnsupportedEncodingException e ) { throw new IllegalArgumentException ( e . getMessage ( ) ) ; } }
utility method to silently get utf - 8 bytes from a string , which should always work .
