jodd-core/src/main/java/jodd/util/StringUtil.java
public static byte[] getBytes(final String string) {
		try {
			return string.getBytes(JoddCore.encoding);
		} catch (UnsupportedEncodingException e) {
			throw new RuntimeException(e);
		}
	}
public static byte[] getBytes(final String string) {
		try {
			return string.getBytes(JoddCore.encoding);
		} catch (UnsupportedEncodingException e) {
			throw new RuntimeException(e);
		}
	}
public static byte [ ] getBytes ( final String string ) { try { return string . getBytes ( JoddCore . encoding ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } }
Returns String bytes using Jodds default encoding.
Returns String bytes using Jodds default encoding .