db.out.writeString(dbai.getFileName());
db.out.writeString(dbai.getFileName(), filenameCharset);
	public void iscCreateDatabase(String file_name, IscDbHandle db_handle,			DatabaseParameterBuffer databaseParameterBuffer)			throws GDSException {		boolean debug = log != null && log.isDebugEnabled();		isc_db_handle_impl db = (isc_db_handle_impl) db_handle;		if (db == null) {			throw new GDSException(ISCConstants.isc_bad_db_handle);		}		synchronized (db) {			DbAttachInfo dbai = new DbAttachInfo(file_name);			connect(db, dbai, databaseParameterBuffer);			try {				if (debug)					log.debug("op_create ");				db.out.writeInt(op_create);				db.out.writeInt(0); // packet->p_atch->p_atch_database				db.out.writeString(dbai.getFileName());				databaseParameterBuffer = ((DatabaseParameterBufferExtension) databaseParameterBuffer)						.removeExtensionParams();				db.out.writeTyped(ISCConstants.isc_dpb_version1,						(Xdrable) databaseParameterBuffer);				// db.out.writeBuffer(dpb, dpb_length);				db.out.flush();				if (debug)					log.debug("sent");				try {					receiveResponse(db, -1);					db.setRdb_id(db.getResp_object());				} catch (GDSException g) {					disconnect(db);					throw g;				}			} catch (IOException ex) {				throw new GDSException(ISCConstants.isc_net_write_err);			}		}	}