docs: public static byte[] getBytesUnchecked(String string, String charsetName) {
          if (string == null) {
              return null;
          }
          try {
              return string.getBytes(charsetName);
          } catch (UnsupportedEncodingException e) {
              throw StringUtils.newIllegalStateException(charsetName, e);
          }
      }