code: public int generate(String text) throws UnsupportedEncodingException {
          byte[] t = text.getBytes("iso-8859-1");
          return generate(t, 0, t.length);
      }
docs: Creates a barcode. The <CODE>String</CODE> is interpreted with the ISO-8859-1 encoding
  @param text the text
  @return the status of the generation. It can be one of this values:
  <p>
  <CODE>DM_NO_ERROR</CODE> - no error.<br>
  <CODE>DM_ERROR_TEXT_TOO_BIG</CODE> - the text is too big for the symbology capabilities.<br>
  <CODE>DM_ERROR_INVALID_SQUARE</CODE> - the dimensions given for the symbol are illegal.<br>
  <CODE>DM_ERROR_EXTENSION</CODE> - an error was while parsing an extension.
  @throws java.io.UnsupportedEncodingException on error