code: public static byte[] getBytes(String text) {
  		byte[] bytes = new byte[] {};
  		try {
  			bytes = text.getBytes("utf-8");
  		} catch (UnsupportedEncodingException e) {
  		}
  		return bytes;
  	}
docs: Get UTF-8 without BOM encoded bytes from String
  
  @param text
  @return