String charset = form.getFirstValue("charset");
if (info == null) {
LOGGER.info("Auto-configuring datastore: " + datastore);
info = builder.buildDataStore( datastore );
add = true;
//TODO: should check if the store actually supports charset
if (charset != null && charset.length() > 0) {
info.getConnectionParameters().put("charset", charset);