docs: public int setString(String strValue, boolean bDisplayOption, int iMoveMode)
      {        
          try {
              strValue = this.encodeString(strValue);
          } catch (Exception ex) {
              Task task = ((BaseField)this.getField()).getRecord().getRecordOwner().getTask();
              return task.setLastError(ex.getMessage());
          }
          return super.setString(strValue, bDisplayOption, iMoveMode);
      }